!(function (e) {
  var t = {};
  function n(r) {
    if (t[r]) return t[r].exports;
    var i = (t[r] = { i: r, l: !1, exports: {} });
    return e[r].call(i.exports, i, i.exports, n), (i.l = !0), i.exports;
  }
  (n.m = e),
    (n.c = t),
    (n.d = function (e, t, r) {
      n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: r });
    }),
    (n.r = function (e) {
      "undefined" !== typeof Symbol &&
        Symbol.toStringTag &&
        Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
        Object.defineProperty(e, "__esModule", { value: !0 });
    }),
    (n.t = function (e, t) {
      if ((1 & t && (e = n(e)), 8 & t)) return e;
      if (4 & t && "object" === typeof e && e && e.__esModule) return e;
      var r = Object.create(null);
      if (
        (n.r(r),
        Object.defineProperty(r, "default", { enumerable: !0, value: e }),
        2 & t && "string" != typeof e)
      )
        for (var i in e)
          n.d(
            r,
            i,
            function (t) {
              return e[t];
            }.bind(null, i)
          );
      return r;
    }),
    (n.n = function (e) {
      var t =
        e && e.__esModule
          ? function () {
              return e.default;
            }
          : function () {
              return e;
            };
      return n.d(t, "a", t), t;
    }),
    (n.o = function (e, t) {
      return Object.prototype.hasOwnProperty.call(e, t);
    }),
    (n.p = "/"),
    n((n.s = 162));
})({
  0: function (e, t, n) {
    "use strict";
    e.exports = n(121);
  },
  102: function (e, t, n) {
    "use strict";
    var r = n(41);
    (t.createRoot = r.createRoot), (t.hydrateRoot = r.hydrateRoot);
  },
  106: function (e, t, n) {
    "use strict";
    e.exports = n(164);
  },
  107: function (e, t) {
    var n,
      r,
      i = (e.exports = {});
    function a() {
      throw new Error("setTimeout has not been defined");
    }
    function o() {
      throw new Error("clearTimeout has not been defined");
    }
    function l(e) {
      if (n === setTimeout) return setTimeout(e, 0);
      if ((n === a || !n) && setTimeout)
        return (n = setTimeout), setTimeout(e, 0);
      try {
        return n(e, 0);
      } catch (t) {
        try {
          return n.call(null, e, 0);
        } catch (t) {
          return n.call(this, e, 0);
        }
      }
    }
    !(function () {
      try {
        n = "function" === typeof setTimeout ? setTimeout : a;
      } catch (e) {
        n = a;
      }
      try {
        r = "function" === typeof clearTimeout ? clearTimeout : o;
      } catch (e) {
        r = o;
      }
    })();
    var u,
      s = [],
      c = !1,
      f = -1;
    function d() {
      c &&
        u &&
        ((c = !1), u.length ? (s = u.concat(s)) : (f = -1), s.length && p());
    }
    function p() {
      if (!c) {
        var e = l(d);
        c = !0;
        for (var t = s.length; t; ) {
          for (u = s, s = []; ++f < t; ) u && u[f].run();
          (f = -1), (t = s.length);
        }
        (u = null),
          (c = !1),
          (function (e) {
            if (r === clearTimeout) return clearTimeout(e);
            if ((r === o || !r) && clearTimeout)
              return (r = clearTimeout), clearTimeout(e);
            try {
              r(e);
            } catch (t) {
              try {
                return r.call(null, e);
              } catch (t) {
                return r.call(this, e);
              }
            }
          })(e);
      }
    }
    function h(e, t) {
      (this.fun = e), (this.array = t);
    }
    function v() {}
    (i.nextTick = function (e) {
      var t = new Array(arguments.length - 1);
      if (arguments.length > 1)
        for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
      s.push(new h(e, t)), 1 !== s.length || c || l(p);
    }),
      (h.prototype.run = function () {
        this.fun.apply(null, this.array);
      }),
      (i.title = "browser"),
      (i.browser = !0),
      (i.env = {}),
      (i.argv = []),
      (i.version = ""),
      (i.versions = {}),
      (i.on = v),
      (i.addListener = v),
      (i.once = v),
      (i.off = v),
      (i.removeListener = v),
      (i.removeAllListeners = v),
      (i.emit = v),
      (i.prependListener = v),
      (i.prependOnceListener = v),
      (i.listeners = function (e) {
        return [];
      }),
      (i.binding = function (e) {
        throw new Error("process.binding is not supported");
      }),
      (i.cwd = function () {
        return "/";
      }),
      (i.chdir = function (e) {
        throw new Error("process.chdir is not supported");
      }),
      (i.umask = function () {
        return 0;
      });
  },
  121: function (e, t, n) {
    "use strict";
    var r = Symbol.for("react.element"),
      i = Symbol.for("react.portal"),
      a = Symbol.for("react.fragment"),
      o = Symbol.for("react.strict_mode"),
      l = Symbol.for("react.profiler"),
      u = Symbol.for("react.provider"),
      s = Symbol.for("react.context"),
      c = Symbol.for("react.forward_ref"),
      f = Symbol.for("react.suspense"),
      d = Symbol.for("react.memo"),
      p = Symbol.for("react.lazy"),
      h = Symbol.iterator;
    var v = {
        isMounted: function () {
          return !1;
        },
        enqueueForceUpdate: function () {},
        enqueueReplaceState: function () {},
        enqueueSetState: function () {},
      },
      g = Object.assign,
      m = {};
    function y(e, t, n) {
      (this.props = e),
        (this.context = t),
        (this.refs = m),
        (this.updater = n || v);
    }
    function b() {}
    function w(e, t, n) {
      (this.props = e),
        (this.context = t),
        (this.refs = m),
        (this.updater = n || v);
    }
    (y.prototype.isReactComponent = {}),
      (y.prototype.setState = function (e, t) {
        if ("object" !== typeof e && "function" !== typeof e && null != e)
          throw Error(
            "setState(...): takes an object of state variables to update or a function which returns an object of state variables."
          );
        this.updater.enqueueSetState(this, e, t, "setState");
      }),
      (y.prototype.forceUpdate = function (e) {
        this.updater.enqueueForceUpdate(this, e, "forceUpdate");
      }),
      (b.prototype = y.prototype);
    var k = (w.prototype = new b());
    (k.constructor = w), g(k, y.prototype), (k.isPureReactComponent = !0);
    var x = Array.isArray,
      S = Object.prototype.hasOwnProperty,
      _ = { current: null },
      C = { key: !0, ref: !0, __self: !0, __source: !0 };
    function E(e, t, n) {
      var i,
        a = {},
        o = null,
        l = null;
      if (null != t)
        for (i in (void 0 !== t.ref && (l = t.ref),
        void 0 !== t.key && (o = "" + t.key),
        t))
          S.call(t, i) && !C.hasOwnProperty(i) && (a[i] = t[i]);
      var u = arguments.length - 2;
      if (1 === u) a.children = n;
      else if (1 < u) {
        for (var s = Array(u), c = 0; c < u; c++) s[c] = arguments[c + 2];
        a.children = s;
      }
      if (e && e.defaultProps)
        for (i in (u = e.defaultProps)) void 0 === a[i] && (a[i] = u[i]);
      return {
        $$typeof: r,
        type: e,
        key: o,
        ref: l,
        props: a,
        _owner: _.current,
      };
    }
    function N(e) {
      return "object" === typeof e && null !== e && e.$$typeof === r;
    }
    var L = /\/+/g;
    function O(e, t) {
      return "object" === typeof e && null !== e && null != e.key
        ? (function (e) {
            var t = { "=": "=0", ":": "=2" };
            return (
              "$" +
              e.replace(/[=:]/g, function (e) {
                return t[e];
              })
            );
          })("" + e.key)
        : t.toString(36);
    }
    function I(e, t, n, a, o) {
      var l = typeof e;
      ("undefined" !== l && "boolean" !== l) || (e = null);
      var u = !1;
      if (null === e) u = !0;
      else
        switch (l) {
          case "string":
          case "number":
            u = !0;
            break;
          case "object":
            switch (e.$$typeof) {
              case r:
              case i:
                u = !0;
            }
        }
      if (u)
        return (
          (o = o((u = e))),
          (e = "" === a ? "." + O(u, 0) : a),
          x(o)
            ? ((n = ""),
              null != e && (n = e.replace(L, "$&/") + "/"),
              I(o, t, n, "", function (e) {
                return e;
              }))
            : null != o &&
              (N(o) &&
                (o = (function (e, t) {
                  return {
                    $$typeof: r,
                    type: e.type,
                    key: t,
                    ref: e.ref,
                    props: e.props,
                    _owner: e._owner,
                  };
                })(
                  o,
                  n +
                    (!o.key || (u && u.key === o.key)
                      ? ""
                      : ("" + o.key).replace(L, "$&/") + "/") +
                    e
                )),
              t.push(o)),
          1
        );
      if (((u = 0), (a = "" === a ? "." : a + ":"), x(e)))
        for (var s = 0; s < e.length; s++) {
          var c = a + O((l = e[s]), s);
          u += I(l, t, n, c, o);
        }
      else if (
        "function" ===
        typeof (c = (function (e) {
          return null === e || "object" !== typeof e
            ? null
            : "function" === typeof (e = (h && e[h]) || e["@@iterator"])
            ? e
            : null;
        })(e))
      )
        for (e = c.call(e), s = 0; !(l = e.next()).done; )
          u += I((l = l.value), t, n, (c = a + O(l, s++)), o);
      else if ("object" === l)
        throw (
          ((t = String(e)),
          Error(
            "Objects are not valid as a React child (found: " +
              ("[object Object]" === t
                ? "object with keys {" + Object.keys(e).join(", ") + "}"
                : t) +
              "). If you meant to render a collection of children, use an array instead."
          ))
        );
      return u;
    }
    function z(e, t, n) {
      if (null == e) return e;
      var r = [],
        i = 0;
      return (
        I(e, r, "", "", function (e) {
          return t.call(n, e, i++);
        }),
        r
      );
    }
    function P(e) {
      if (-1 === e._status) {
        var t = e._result;
        (t = t()).then(
          function (t) {
            (0 !== e._status && -1 !== e._status) ||
              ((e._status = 1), (e._result = t));
          },
          function (t) {
            (0 !== e._status && -1 !== e._status) ||
              ((e._status = 2), (e._result = t));
          }
        ),
          -1 === e._status && ((e._status = 0), (e._result = t));
      }
      if (1 === e._status) return e._result.default;
      throw e._result;
    }
    var T = { current: null },
      j = { transition: null },
      R = {
        ReactCurrentDispatcher: T,
        ReactCurrentBatchConfig: j,
        ReactCurrentOwner: _,
      };
    (t.Children = {
      map: z,
      forEach: function (e, t, n) {
        z(
          e,
          function () {
            t.apply(this, arguments);
          },
          n
        );
      },
      count: function (e) {
        var t = 0;
        return (
          z(e, function () {
            t++;
          }),
          t
        );
      },
      toArray: function (e) {
        return (
          z(e, function (e) {
            return e;
          }) || []
        );
      },
      only: function (e) {
        if (!N(e))
          throw Error(
            "React.Children.only expected to receive a single React element child."
          );
        return e;
      },
    }),
      (t.Component = y),
      (t.Fragment = a),
      (t.Profiler = l),
      (t.PureComponent = w),
      (t.StrictMode = o),
      (t.Suspense = f),
      (t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = R),
      (t.cloneElement = function (e, t, n) {
        if (null === e || void 0 === e)
          throw Error(
            "React.cloneElement(...): The argument must be a React element, but you passed " +
              e +
              "."
          );
        var i = g({}, e.props),
          a = e.key,
          o = e.ref,
          l = e._owner;
        if (null != t) {
          if (
            (void 0 !== t.ref && ((o = t.ref), (l = _.current)),
            void 0 !== t.key && (a = "" + t.key),
            e.type && e.type.defaultProps)
          )
            var u = e.type.defaultProps;
          for (s in t)
            S.call(t, s) &&
              !C.hasOwnProperty(s) &&
              (i[s] = void 0 === t[s] && void 0 !== u ? u[s] : t[s]);
        }
        var s = arguments.length - 2;
        if (1 === s) i.children = n;
        else if (1 < s) {
          u = Array(s);
          for (var c = 0; c < s; c++) u[c] = arguments[c + 2];
          i.children = u;
        }
        return {
          $$typeof: r,
          type: e.type,
          key: a,
          ref: o,
          props: i,
          _owner: l,
        };
      }),
      (t.createContext = function (e) {
        return (
          ((e = {
            $$typeof: s,
            _currentValue: e,
            _currentValue2: e,
            _threadCount: 0,
            Provider: null,
            Consumer: null,
            _defaultValue: null,
            _globalName: null,
          }).Provider = { $$typeof: u, _context: e }),
          (e.Consumer = e)
        );
      }),
      (t.createElement = E),
      (t.createFactory = function (e) {
        var t = E.bind(null, e);
        return (t.type = e), t;
      }),
      (t.createRef = function () {
        return { current: null };
      }),
      (t.forwardRef = function (e) {
        return { $$typeof: c, render: e };
      }),
      (t.isValidElement = N),
      (t.lazy = function (e) {
        return { $$typeof: p, _payload: { _status: -1, _result: e }, _init: P };
      }),
      (t.memo = function (e, t) {
        return { $$typeof: d, type: e, compare: void 0 === t ? null : t };
      }),
      (t.startTransition = function (e) {
        var t = j.transition;
        j.transition = {};
        try {
          e();
        } finally {
          j.transition = t;
        }
      }),
      (t.unstable_act = function () {
        throw Error("act(...) is not supported in production builds of React.");
      }),
      (t.useCallback = function (e, t) {
        return T.current.useCallback(e, t);
      }),
      (t.useContext = function (e) {
        return T.current.useContext(e);
      }),
      (t.useDebugValue = function () {}),
      (t.useDeferredValue = function (e) {
        return T.current.useDeferredValue(e);
      }),
      (t.useEffect = function (e, t) {
        return T.current.useEffect(e, t);
      }),
      (t.useId = function () {
        return T.current.useId();
      }),
      (t.useImperativeHandle = function (e, t, n) {
        return T.current.useImperativeHandle(e, t, n);
      }),
      (t.useInsertionEffect = function (e, t) {
        return T.current.useInsertionEffect(e, t);
      }),
      (t.useLayoutEffect = function (e, t) {
        return T.current.useLayoutEffect(e, t);
      }),
      (t.useMemo = function (e, t) {
        return T.current.useMemo(e, t);
      }),
      (t.useReducer = function (e, t, n) {
        return T.current.useReducer(e, t, n);
      }),
      (t.useRef = function (e) {
        return T.current.useRef(e);
      }),
      (t.useState = function (e) {
        return T.current.useState(e);
      }),
      (t.useSyncExternalStore = function (e, t, n) {
        return T.current.useSyncExternalStore(e, t, n);
      }),
      (t.useTransition = function () {
        return T.current.useTransition();
      }),
      (t.version = "18.2.0");
  },
  122: function (e, t, n) {
    "use strict";
    var r = n(0),
      i = n(123);
    function a(e) {
      for (
        var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e,
          n = 1;
        n < arguments.length;
        n++
      )
        t += "&args[]=" + encodeURIComponent(arguments[n]);
      return (
        "Minified React error #" +
        e +
        "; visit " +
        t +
        " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
      );
    }
    var o = new Set(),
      l = {};
    function u(e, t) {
      s(e, t), s(e + "Capture", t);
    }
    function s(e, t) {
      for (l[e] = t, e = 0; e < t.length; e++) o.add(t[e]);
    }
    var c = !(
        "undefined" === typeof window ||
        "undefined" === typeof window.document ||
        "undefined" === typeof window.document.createElement
      ),
      f = Object.prototype.hasOwnProperty,
      d =
        /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
      p = {},
      h = {};
    function v(e, t, n, r, i, a, o) {
      (this.acceptsBooleans = 2 === t || 3 === t || 4 === t),
        (this.attributeName = r),
        (this.attributeNamespace = i),
        (this.mustUseProperty = n),
        (this.propertyName = e),
        (this.type = t),
        (this.sanitizeURL = a),
        (this.removeEmptyString = o);
    }
    var g = {};
    "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style"
      .split(" ")
      .forEach(function (e) {
        g[e] = new v(e, 0, !1, e, null, !1, !1);
      }),
      [
        ["acceptCharset", "accept-charset"],
        ["className", "class"],
        ["htmlFor", "for"],
        ["httpEquiv", "http-equiv"],
      ].forEach(function (e) {
        var t = e[0];
        g[t] = new v(t, 1, !1, e[1], null, !1, !1);
      }),
      ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (
        e
      ) {
        g[e] = new v(e, 2, !1, e.toLowerCase(), null, !1, !1);
      }),
      [
        "autoReverse",
        "externalResourcesRequired",
        "focusable",
        "preserveAlpha",
      ].forEach(function (e) {
        g[e] = new v(e, 2, !1, e, null, !1, !1);
      }),
      "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope"
        .split(" ")
        .forEach(function (e) {
          g[e] = new v(e, 3, !1, e.toLowerCase(), null, !1, !1);
        }),
      ["checked", "multiple", "muted", "selected"].forEach(function (e) {
        g[e] = new v(e, 3, !0, e, null, !1, !1);
      }),
      ["capture", "download"].forEach(function (e) {
        g[e] = new v(e, 4, !1, e, null, !1, !1);
      }),
      ["cols", "rows", "size", "span"].forEach(function (e) {
        g[e] = new v(e, 6, !1, e, null, !1, !1);
      }),
      ["rowSpan", "start"].forEach(function (e) {
        g[e] = new v(e, 5, !1, e.toLowerCase(), null, !1, !1);
      });
    var m = /[\-:]([a-z])/g;
    function y(e) {
      return e[1].toUpperCase();
    }
    function b(e, t, n, r) {
      var i = g.hasOwnProperty(t) ? g[t] : null;
      (null !== i
        ? 0 !== i.type
        : r ||
          !(2 < t.length) ||
          ("o" !== t[0] && "O" !== t[0]) ||
          ("n" !== t[1] && "N" !== t[1])) &&
        ((function (e, t, n, r) {
          if (
            null === t ||
            "undefined" === typeof t ||
            (function (e, t, n, r) {
              if (null !== n && 0 === n.type) return !1;
              switch (typeof t) {
                case "function":
                case "symbol":
                  return !0;
                case "boolean":
                  return (
                    !r &&
                    (null !== n
                      ? !n.acceptsBooleans
                      : "data-" !== (e = e.toLowerCase().slice(0, 5)) &&
                        "aria-" !== e)
                  );
                default:
                  return !1;
              }
            })(e, t, n, r)
          )
            return !0;
          if (r) return !1;
          if (null !== n)
            switch (n.type) {
              case 3:
                return !t;
              case 4:
                return !1 === t;
              case 5:
                return isNaN(t);
              case 6:
                return isNaN(t) || 1 > t;
            }
          return !1;
        })(t, n, i, r) && (n = null),
        r || null === i
          ? (function (e) {
              return (
                !!f.call(h, e) ||
                (!f.call(p, e) && (d.test(e) ? (h[e] = !0) : ((p[e] = !0), !1)))
              );
            })(t) &&
            (null === n ? e.removeAttribute(t) : e.setAttribute(t, "" + n))
          : i.mustUseProperty
          ? (e[i.propertyName] = null === n ? 3 !== i.type && "" : n)
          : ((t = i.attributeName),
            (r = i.attributeNamespace),
            null === n
              ? e.removeAttribute(t)
              : ((n =
                  3 === (i = i.type) || (4 === i && !0 === n) ? "" : "" + n),
                r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))));
    }
    "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height"
      .split(" ")
      .forEach(function (e) {
        var t = e.replace(m, y);
        g[t] = new v(t, 1, !1, e, null, !1, !1);
      }),
      "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type"
        .split(" ")
        .forEach(function (e) {
          var t = e.replace(m, y);
          g[t] = new v(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1);
        }),
      ["xml:base", "xml:lang", "xml:space"].forEach(function (e) {
        var t = e.replace(m, y);
        g[t] = new v(
          t,
          1,
          !1,
          e,
          "http://www.w3.org/XML/1998/namespace",
          !1,
          !1
        );
      }),
      ["tabIndex", "crossOrigin"].forEach(function (e) {
        g[e] = new v(e, 1, !1, e.toLowerCase(), null, !1, !1);
      }),
      (g.xlinkHref = new v(
        "xlinkHref",
        1,
        !1,
        "xlink:href",
        "http://www.w3.org/1999/xlink",
        !0,
        !1
      )),
      ["src", "href", "action", "formAction"].forEach(function (e) {
        g[e] = new v(e, 1, !1, e.toLowerCase(), null, !0, !0);
      });
    var w = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
      k = Symbol.for("react.element"),
      x = Symbol.for("react.portal"),
      S = Symbol.for("react.fragment"),
      _ = Symbol.for("react.strict_mode"),
      C = Symbol.for("react.profiler"),
      E = Symbol.for("react.provider"),
      N = Symbol.for("react.context"),
      L = Symbol.for("react.forward_ref"),
      O = Symbol.for("react.suspense"),
      I = Symbol.for("react.suspense_list"),
      z = Symbol.for("react.memo"),
      P = Symbol.for("react.lazy");
    Symbol.for("react.scope"), Symbol.for("react.debug_trace_mode");
    var T = Symbol.for("react.offscreen");
    Symbol.for("react.legacy_hidden"),
      Symbol.for("react.cache"),
      Symbol.for("react.tracing_marker");
    var j = Symbol.iterator;
    function R(e) {
      return null === e || "object" !== typeof e
        ? null
        : "function" === typeof (e = (j && e[j]) || e["@@iterator"])
        ? e
        : null;
    }
    var A,
      D = Object.assign;
    function F(e) {
      if (void 0 === A)
        try {
          throw Error();
        } catch (n) {
          var t = n.stack.trim().match(/\n( *(at )?)/);
          A = (t && t[1]) || "";
        }
      return "\n" + A + e;
    }
    var M = !1;
    function V(e, t) {
      if (!e || M) return "";
      M = !0;
      var n = Error.prepareStackTrace;
      Error.prepareStackTrace = void 0;
      try {
        if (t)
          if (
            ((t = function () {
              throw Error();
            }),
            Object.defineProperty(t.prototype, "props", {
              set: function () {
                throw Error();
              },
            }),
            "object" === typeof Reflect && Reflect.construct)
          ) {
            try {
              Reflect.construct(t, []);
            } catch (s) {
              var r = s;
            }
            Reflect.construct(e, [], t);
          } else {
            try {
              t.call();
            } catch (s) {
              r = s;
            }
            e.call(t.prototype);
          }
        else {
          try {
            throw Error();
          } catch (s) {
            r = s;
          }
          e();
        }
      } catch (s) {
        if (s && r && "string" === typeof s.stack) {
          for (
            var i = s.stack.split("\n"),
              a = r.stack.split("\n"),
              o = i.length - 1,
              l = a.length - 1;
            1 <= o && 0 <= l && i[o] !== a[l];

          )
            l--;
          for (; 1 <= o && 0 <= l; o--, l--)
            if (i[o] !== a[l]) {
              if (1 !== o || 1 !== l)
                do {
                  if ((o--, 0 > --l || i[o] !== a[l])) {
                    var u = "\n" + i[o].replace(" at new ", " at ");
                    return (
                      e.displayName &&
                        u.includes("<anonymous>") &&
                        (u = u.replace("<anonymous>", e.displayName)),
                      u
                    );
                  }
                } while (1 <= o && 0 <= l);
              break;
            }
        }
      } finally {
        (M = !1), (Error.prepareStackTrace = n);
      }
      return (e = e ? e.displayName || e.name : "") ? F(e) : "";
    }
    function W(e) {
      switch (e.tag) {
        case 5:
          return F(e.type);
        case 16:
          return F("Lazy");
        case 13:
          return F("Suspense");
        case 19:
          return F("SuspenseList");
        case 0:
        case 2:
        case 15:
          return (e = V(e.type, !1));
        case 11:
          return (e = V(e.type.render, !1));
        case 1:
          return (e = V(e.type, !0));
        default:
          return "";
      }
    }
    function $(e) {
      var t = e.type;
      switch (e.tag) {
        case 24:
          return "Cache";
        case 9:
          return (t.displayName || "Context") + ".Consumer";
        case 10:
          return (t._context.displayName || "Context") + ".Provider";
        case 18:
          return "DehydratedFragment";
        case 11:
          return (
            (e = (e = t.render).displayName || e.name || ""),
            t.displayName || ("" !== e ? "ForwardRef(" + e + ")" : "ForwardRef")
          );
        case 7:
          return "Fragment";
        case 5:
          return t;
        case 4:
          return "Portal";
        case 3:
          return "Root";
        case 6:
          return "Text";
        case 16:
          return (function e(t) {
            if (null == t) return null;
            if ("function" === typeof t) return t.displayName || t.name || null;
            if ("string" === typeof t) return t;
            switch (t) {
              case S:
                return "Fragment";
              case x:
                return "Portal";
              case C:
                return "Profiler";
              case _:
                return "StrictMode";
              case O:
                return "Suspense";
              case I:
                return "SuspenseList";
            }
            if ("object" === typeof t)
              switch (t.$$typeof) {
                case N:
                  return (t.displayName || "Context") + ".Consumer";
                case E:
                  return (t._context.displayName || "Context") + ".Provider";
                case L:
                  var n = t.render;
                  return (
                    (t = t.displayName) ||
                      (t =
                        "" !== (t = n.displayName || n.name || "")
                          ? "ForwardRef(" + t + ")"
                          : "ForwardRef"),
                    t
                  );
                case z:
                  return null !== (n = t.displayName || null)
                    ? n
                    : e(t.type) || "Memo";
                case P:
                  (n = t._payload), (t = t._init);
                  try {
                    return e(t(n));
                  } catch (r) {}
              }
            return null;
          })(t);
        case 8:
          return t === _ ? "StrictMode" : "Mode";
        case 22:
          return "Offscreen";
        case 12:
          return "Profiler";
        case 21:
          return "Scope";
        case 13:
          return "Suspense";
        case 19:
          return "SuspenseList";
        case 25:
          return "TracingMarker";
        case 1:
        case 0:
        case 17:
        case 2:
        case 14:
        case 15:
          if ("function" === typeof t) return t.displayName || t.name || null;
          if ("string" === typeof t) return t;
      }
      return null;
    }
    function U(e) {
      switch (typeof e) {
        case "boolean":
        case "number":
        case "string":
        case "undefined":
        case "object":
          return e;
        default:
          return "";
      }
    }
    function H(e) {
      var t = e.type;
      return (
        (e = e.nodeName) &&
        "input" === e.toLowerCase() &&
        ("checkbox" === t || "radio" === t)
      );
    }
    function B(e) {
      e._valueTracker ||
        (e._valueTracker = (function (e) {
          var t = H(e) ? "checked" : "value",
            n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t),
            r = "" + e[t];
          if (
            !e.hasOwnProperty(t) &&
            "undefined" !== typeof n &&
            "function" === typeof n.get &&
            "function" === typeof n.set
          ) {
            var i = n.get,
              a = n.set;
            return (
              Object.defineProperty(e, t, {
                configurable: !0,
                get: function () {
                  return i.call(this);
                },
                set: function (e) {
                  (r = "" + e), a.call(this, e);
                },
              }),
              Object.defineProperty(e, t, { enumerable: n.enumerable }),
              {
                getValue: function () {
                  return r;
                },
                setValue: function (e) {
                  r = "" + e;
                },
                stopTracking: function () {
                  (e._valueTracker = null), delete e[t];
                },
              }
            );
          }
        })(e));
    }
    function G(e) {
      if (!e) return !1;
      var t = e._valueTracker;
      if (!t) return !0;
      var n = t.getValue(),
        r = "";
      return (
        e && (r = H(e) ? (e.checked ? "true" : "false") : e.value),
        (e = r) !== n && (t.setValue(e), !0)
      );
    }
    function Q(e) {
      if (
        "undefined" ===
        typeof (e = e || ("undefined" !== typeof document ? document : void 0))
      )
        return null;
      try {
        return e.activeElement || e.body;
      } catch (t) {
        return e.body;
      }
    }
    function q(e, t) {
      var n = t.checked;
      return D({}, t, {
        defaultChecked: void 0,
        defaultValue: void 0,
        value: void 0,
        checked: null != n ? n : e._wrapperState.initialChecked,
      });
    }
    function K(e, t) {
      var n = null == t.defaultValue ? "" : t.defaultValue,
        r = null != t.checked ? t.checked : t.defaultChecked;
      (n = U(null != t.value ? t.value : n)),
        (e._wrapperState = {
          initialChecked: r,
          initialValue: n,
          controlled:
            "checkbox" === t.type || "radio" === t.type
              ? null != t.checked
              : null != t.value,
        });
    }
    function X(e, t) {
      null != (t = t.checked) && b(e, "checked", t, !1);
    }
    function Y(e, t) {
      X(e, t);
      var n = U(t.value),
        r = t.type;
      if (null != n)
        "number" === r
          ? ((0 === n && "" === e.value) || e.value != n) && (e.value = "" + n)
          : e.value !== "" + n && (e.value = "" + n);
      else if ("submit" === r || "reset" === r)
        return void e.removeAttribute("value");
      t.hasOwnProperty("value")
        ? Z(e, t.type, n)
        : t.hasOwnProperty("defaultValue") && Z(e, t.type, U(t.defaultValue)),
        null == t.checked &&
          null != t.defaultChecked &&
          (e.defaultChecked = !!t.defaultChecked);
    }
    function J(e, t, n) {
      if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
        var r = t.type;
        if (
          !(
            ("submit" !== r && "reset" !== r) ||
            (void 0 !== t.value && null !== t.value)
          )
        )
          return;
        (t = "" + e._wrapperState.initialValue),
          n || t === e.value || (e.value = t),
          (e.defaultValue = t);
      }
      "" !== (n = e.name) && (e.name = ""),
        (e.defaultChecked = !!e._wrapperState.initialChecked),
        "" !== n && (e.name = n);
    }
    function Z(e, t, n) {
      ("number" === t && Q(e.ownerDocument) === e) ||
        (null == n
          ? (e.defaultValue = "" + e._wrapperState.initialValue)
          : e.defaultValue !== "" + n && (e.defaultValue = "" + n));
    }
    var ee = Array.isArray;
    function te(e, t, n, r) {
      if (((e = e.options), t)) {
        t = {};
        for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;
        for (n = 0; n < e.length; n++)
          (i = t.hasOwnProperty("$" + e[n].value)),
            e[n].selected !== i && (e[n].selected = i),
            i && r && (e[n].defaultSelected = !0);
      } else {
        for (n = "" + U(n), t = null, i = 0; i < e.length; i++) {
          if (e[i].value === n)
            return (
              (e[i].selected = !0), void (r && (e[i].defaultSelected = !0))
            );
          null !== t || e[i].disabled || (t = e[i]);
        }
        null !== t && (t.selected = !0);
      }
    }
    function ne(e, t) {
      if (null != t.dangerouslySetInnerHTML) throw Error(a(91));
      return D({}, t, {
        value: void 0,
        defaultValue: void 0,
        children: "" + e._wrapperState.initialValue,
      });
    }
    function re(e, t) {
      var n = t.value;
      if (null == n) {
        if (((n = t.children), (t = t.defaultValue), null != n)) {
          if (null != t) throw Error(a(92));
          if (ee(n)) {
            if (1 < n.length) throw Error(a(93));
            n = n[0];
          }
          t = n;
        }
        null == t && (t = ""), (n = t);
      }
      e._wrapperState = { initialValue: U(n) };
    }
    function ie(e, t) {
      var n = U(t.value),
        r = U(t.defaultValue);
      null != n &&
        ((n = "" + n) !== e.value && (e.value = n),
        null == t.defaultValue && e.defaultValue !== n && (e.defaultValue = n)),
        null != r && (e.defaultValue = "" + r);
    }
    function ae(e) {
      var t = e.textContent;
      t === e._wrapperState.initialValue &&
        "" !== t &&
        null !== t &&
        (e.value = t);
    }
    function oe(e) {
      switch (e) {
        case "svg":
          return "http://www.w3.org/2000/svg";
        case "math":
          return "http://www.w3.org/1998/Math/MathML";
        default:
          return "http://www.w3.org/1999/xhtml";
      }
    }
    function le(e, t) {
      return null == e || "http://www.w3.org/1999/xhtml" === e
        ? oe(t)
        : "http://www.w3.org/2000/svg" === e && "foreignObject" === t
        ? "http://www.w3.org/1999/xhtml"
        : e;
    }
    var ue,
      se = (function (e) {
        return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction
          ? function (t, n, r, i) {
              MSApp.execUnsafeLocalFunction(function () {
                return e(t, n);
              });
            }
          : e;
      })(function (e, t) {
        if ("http://www.w3.org/2000/svg" !== e.namespaceURI || "innerHTML" in e)
          e.innerHTML = t;
        else {
          for (
            (ue = ue || document.createElement("div")).innerHTML =
              "<svg>" + t.valueOf().toString() + "</svg>",
              t = ue.firstChild;
            e.firstChild;

          )
            e.removeChild(e.firstChild);
          for (; t.firstChild; ) e.appendChild(t.firstChild);
        }
      });
    function ce(e, t) {
      if (t) {
        var n = e.firstChild;
        if (n && n === e.lastChild && 3 === n.nodeType)
          return void (n.nodeValue = t);
      }
      e.textContent = t;
    }
    var fe = {
        animationIterationCount: !0,
        aspectRatio: !0,
        borderImageOutset: !0,
        borderImageSlice: !0,
        borderImageWidth: !0,
        boxFlex: !0,
        boxFlexGroup: !0,
        boxOrdinalGroup: !0,
        columnCount: !0,
        columns: !0,
        flex: !0,
        flexGrow: !0,
        flexPositive: !0,
        flexShrink: !0,
        flexNegative: !0,
        flexOrder: !0,
        gridArea: !0,
        gridRow: !0,
        gridRowEnd: !0,
        gridRowSpan: !0,
        gridRowStart: !0,
        gridColumn: !0,
        gridColumnEnd: !0,
        gridColumnSpan: !0,
        gridColumnStart: !0,
        fontWeight: !0,
        lineClamp: !0,
        lineHeight: !0,
        opacity: !0,
        order: !0,
        orphans: !0,
        tabSize: !0,
        widows: !0,
        zIndex: !0,
        zoom: !0,
        fillOpacity: !0,
        floodOpacity: !0,
        stopOpacity: !0,
        strokeDasharray: !0,
        strokeDashoffset: !0,
        strokeMiterlimit: !0,
        strokeOpacity: !0,
        strokeWidth: !0,
      },
      de = ["Webkit", "ms", "Moz", "O"];
    function pe(e, t, n) {
      return null == t || "boolean" === typeof t || "" === t
        ? ""
        : n ||
          "number" !== typeof t ||
          0 === t ||
          (fe.hasOwnProperty(e) && fe[e])
        ? ("" + t).trim()
        : t + "px";
    }
    function he(e, t) {
      for (var n in ((e = e.style), t))
        if (t.hasOwnProperty(n)) {
          var r = 0 === n.indexOf("--"),
            i = pe(n, t[n], r);
          "float" === n && (n = "cssFloat"),
            r ? e.setProperty(n, i) : (e[n] = i);
        }
    }
    Object.keys(fe).forEach(function (e) {
      de.forEach(function (t) {
        (t = t + e.charAt(0).toUpperCase() + e.substring(1)), (fe[t] = fe[e]);
      });
    });
    var ve = D(
      { menuitem: !0 },
      {
        area: !0,
        base: !0,
        br: !0,
        col: !0,
        embed: !0,
        hr: !0,
        img: !0,
        input: !0,
        keygen: !0,
        link: !0,
        meta: !0,
        param: !0,
        source: !0,
        track: !0,
        wbr: !0,
      }
    );
    function ge(e, t) {
      if (t) {
        if (ve[e] && (null != t.children || null != t.dangerouslySetInnerHTML))
          throw Error(a(137, e));
        if (null != t.dangerouslySetInnerHTML) {
          if (null != t.children) throw Error(a(60));
          if (
            "object" !== typeof t.dangerouslySetInnerHTML ||
            !("__html" in t.dangerouslySetInnerHTML)
          )
            throw Error(a(61));
        }
        if (null != t.style && "object" !== typeof t.style) throw Error(a(62));
      }
    }
    function me(e, t) {
      if (-1 === e.indexOf("-")) return "string" === typeof t.is;
      switch (e) {
        case "annotation-xml":
        case "color-profile":
        case "font-face":
        case "font-face-src":
        case "font-face-uri":
        case "font-face-format":
        case "font-face-name":
        case "missing-glyph":
          return !1;
        default:
          return !0;
      }
    }
    var ye = null;
    function be(e) {
      return (
        (e = e.target || e.srcElement || window).correspondingUseElement &&
          (e = e.correspondingUseElement),
        3 === e.nodeType ? e.parentNode : e
      );
    }
    var we = null,
      ke = null,
      xe = null;
    function Se(e) {
      if ((e = di(e))) {
        if ("function" !== typeof we) throw Error(a(280));
        var t = e.stateNode;
        t && ((t = hi(t)), we(e.stateNode, e.type, t));
      }
    }
    function _e(e) {
      ke ? (xe ? xe.push(e) : (xe = [e])) : (ke = e);
    }
    function Ce() {
      if (ke) {
        var e = ke,
          t = xe;
        if (((xe = ke = null), Se(e), t))
          for (e = 0; e < t.length; e++) Se(t[e]);
      }
    }
    function Ee(e, t) {
      return e(t);
    }
    function Ne() {}
    var Le = !1;
    function Oe(e, t, n) {
      if (Le) return e(t, n);
      Le = !0;
      try {
        return Ee(e, t, n);
      } finally {
        (Le = !1), (null !== ke || null !== xe) && (Ne(), Ce());
      }
    }
    function Ie(e, t) {
      var n = e.stateNode;
      if (null === n) return null;
      var r = hi(n);
      if (null === r) return null;
      n = r[t];
      e: switch (t) {
        case "onClick":
        case "onClickCapture":
        case "onDoubleClick":
        case "onDoubleClickCapture":
        case "onMouseDown":
        case "onMouseDownCapture":
        case "onMouseMove":
        case "onMouseMoveCapture":
        case "onMouseUp":
        case "onMouseUpCapture":
        case "onMouseEnter":
          (r = !r.disabled) ||
            (r = !(
              "button" === (e = e.type) ||
              "input" === e ||
              "select" === e ||
              "textarea" === e
            )),
            (e = !r);
          break e;
        default:
          e = !1;
      }
      if (e) return null;
      if (n && "function" !== typeof n) throw Error(a(231, t, typeof n));
      return n;
    }
    var ze = !1;
    if (c)
      try {
        var Pe = {};
        Object.defineProperty(Pe, "passive", {
          get: function () {
            ze = !0;
          },
        }),
          window.addEventListener("test", Pe, Pe),
          window.removeEventListener("test", Pe, Pe);
      } catch (Ks) {
        ze = !1;
      }
    function Te(e, t, n, r, i, a, o, l, u) {
      var s = Array.prototype.slice.call(arguments, 3);
      try {
        t.apply(n, s);
      } catch (c) {
        this.onError(c);
      }
    }
    var je = !1,
      Re = null,
      Ae = !1,
      De = null,
      Fe = {
        onError: function (e) {
          (je = !0), (Re = e);
        },
      };
    function Me(e, t, n, r, i, a, o, l, u) {
      (je = !1), (Re = null), Te.apply(Fe, arguments);
    }
    function Ve(e) {
      var t = e,
        n = e;
      if (e.alternate) for (; t.return; ) t = t.return;
      else {
        e = t;
        do {
          0 !== (4098 & (t = e).flags) && (n = t.return), (e = t.return);
        } while (e);
      }
      return 3 === t.tag ? n : null;
    }
    function We(e) {
      if (13 === e.tag) {
        var t = e.memoizedState;
        if (
          (null === t && null !== (e = e.alternate) && (t = e.memoizedState),
          null !== t)
        )
          return t.dehydrated;
      }
      return null;
    }
    function $e(e) {
      if (Ve(e) !== e) throw Error(a(188));
    }
    function Ue(e) {
      return null !==
        (e = (function (e) {
          var t = e.alternate;
          if (!t) {
            if (null === (t = Ve(e))) throw Error(a(188));
            return t !== e ? null : e;
          }
          for (var n = e, r = t; ; ) {
            var i = n.return;
            if (null === i) break;
            var o = i.alternate;
            if (null === o) {
              if (null !== (r = i.return)) {
                n = r;
                continue;
              }
              break;
            }
            if (i.child === o.child) {
              for (o = i.child; o; ) {
                if (o === n) return $e(i), e;
                if (o === r) return $e(i), t;
                o = o.sibling;
              }
              throw Error(a(188));
            }
            if (n.return !== r.return) (n = i), (r = o);
            else {
              for (var l = !1, u = i.child; u; ) {
                if (u === n) {
                  (l = !0), (n = i), (r = o);
                  break;
                }
                if (u === r) {
                  (l = !0), (r = i), (n = o);
                  break;
                }
                u = u.sibling;
              }
              if (!l) {
                for (u = o.child; u; ) {
                  if (u === n) {
                    (l = !0), (n = o), (r = i);
                    break;
                  }
                  if (u === r) {
                    (l = !0), (r = o), (n = i);
                    break;
                  }
                  u = u.sibling;
                }
                if (!l) throw Error(a(189));
              }
            }
            if (n.alternate !== r) throw Error(a(190));
          }
          if (3 !== n.tag) throw Error(a(188));
          return n.stateNode.current === n ? e : t;
        })(e))
        ? (function e(t) {
            if (5 === t.tag || 6 === t.tag) return t;
            for (t = t.child; null !== t; ) {
              var n = e(t);
              if (null !== n) return n;
              t = t.sibling;
            }
            return null;
          })(e)
        : null;
    }
    var He = i.unstable_scheduleCallback,
      Be = i.unstable_cancelCallback,
      Ge = i.unstable_shouldYield,
      Qe = i.unstable_requestPaint,
      qe = i.unstable_now,
      Ke = i.unstable_getCurrentPriorityLevel,
      Xe = i.unstable_ImmediatePriority,
      Ye = i.unstable_UserBlockingPriority,
      Je = i.unstable_NormalPriority,
      Ze = i.unstable_LowPriority,
      et = i.unstable_IdlePriority,
      tt = null,
      nt = null;
    var rt = Math.clz32
        ? Math.clz32
        : function (e) {
            return 0 === (e >>>= 0) ? 32 : (31 - ((it(e) / at) | 0)) | 0;
          },
      it = Math.log,
      at = Math.LN2;
    var ot = 64,
      lt = 4194304;
    function ut(e) {
      switch (e & -e) {
        case 1:
          return 1;
        case 2:
          return 2;
        case 4:
          return 4;
        case 8:
          return 8;
        case 16:
          return 16;
        case 32:
          return 32;
        case 64:
        case 128:
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
          return 4194240 & e;
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
        case 67108864:
          return 130023424 & e;
        case 134217728:
          return 134217728;
        case 268435456:
          return 268435456;
        case 536870912:
          return 536870912;
        case 1073741824:
          return 1073741824;
        default:
          return e;
      }
    }
    function st(e, t) {
      var n = e.pendingLanes;
      if (0 === n) return 0;
      var r = 0,
        i = e.suspendedLanes,
        a = e.pingedLanes,
        o = 268435455 & n;
      if (0 !== o) {
        var l = o & ~i;
        0 !== l ? (r = ut(l)) : 0 !== (a &= o) && (r = ut(a));
      } else 0 !== (o = n & ~i) ? (r = ut(o)) : 0 !== a && (r = ut(a));
      if (0 === r) return 0;
      if (
        0 !== t &&
        t !== r &&
        0 === (t & i) &&
        ((i = r & -r) >= (a = t & -t) || (16 === i && 0 !== (4194240 & a)))
      )
        return t;
      if ((0 !== (4 & r) && (r |= 16 & n), 0 !== (t = e.entangledLanes)))
        for (e = e.entanglements, t &= r; 0 < t; )
          (i = 1 << (n = 31 - rt(t))), (r |= e[n]), (t &= ~i);
      return r;
    }
    function ct(e, t) {
      switch (e) {
        case 1:
        case 2:
        case 4:
          return t + 250;
        case 8:
        case 16:
        case 32:
        case 64:
        case 128:
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
          return t + 5e3;
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
        case 67108864:
          return -1;
        case 134217728:
        case 268435456:
        case 536870912:
        case 1073741824:
        default:
          return -1;
      }
    }
    function ft(e) {
      return 0 !== (e = -1073741825 & e.pendingLanes)
        ? e
        : 1073741824 & e
        ? 1073741824
        : 0;
    }
    function dt() {
      var e = ot;
      return 0 === (4194240 & (ot <<= 1)) && (ot = 64), e;
    }
    function pt(e) {
      for (var t = [], n = 0; 31 > n; n++) t.push(e);
      return t;
    }
    function ht(e, t, n) {
      (e.pendingLanes |= t),
        536870912 !== t && ((e.suspendedLanes = 0), (e.pingedLanes = 0)),
        ((e = e.eventTimes)[(t = 31 - rt(t))] = n);
    }
    function vt(e, t) {
      var n = (e.entangledLanes |= t);
      for (e = e.entanglements; n; ) {
        var r = 31 - rt(n),
          i = 1 << r;
        (i & t) | (e[r] & t) && (e[r] |= t), (n &= ~i);
      }
    }
    var gt = 0;
    function mt(e) {
      return 1 < (e &= -e)
        ? 4 < e
          ? 0 !== (268435455 & e)
            ? 16
            : 536870912
          : 4
        : 1;
    }
    var yt,
      bt,
      wt,
      kt,
      xt,
      St = !1,
      _t = [],
      Ct = null,
      Et = null,
      Nt = null,
      Lt = new Map(),
      Ot = new Map(),
      It = [],
      zt =
        "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(
          " "
        );
    function Pt(e, t) {
      switch (e) {
        case "focusin":
        case "focusout":
          Ct = null;
          break;
        case "dragenter":
        case "dragleave":
          Et = null;
          break;
        case "mouseover":
        case "mouseout":
          Nt = null;
          break;
        case "pointerover":
        case "pointerout":
          Lt.delete(t.pointerId);
          break;
        case "gotpointercapture":
        case "lostpointercapture":
          Ot.delete(t.pointerId);
      }
    }
    function Tt(e, t, n, r, i, a) {
      return null === e || e.nativeEvent !== a
        ? ((e = {
            blockedOn: t,
            domEventName: n,
            eventSystemFlags: r,
            nativeEvent: a,
            targetContainers: [i],
          }),
          null !== t && null !== (t = di(t)) && bt(t),
          e)
        : ((e.eventSystemFlags |= r),
          (t = e.targetContainers),
          null !== i && -1 === t.indexOf(i) && t.push(i),
          e);
    }
    function jt(e) {
      var t = fi(e.target);
      if (null !== t) {
        var n = Ve(t);
        if (null !== n)
          if (13 === (t = n.tag)) {
            if (null !== (t = We(n)))
              return (
                (e.blockedOn = t),
                void xt(e.priority, function () {
                  wt(n);
                })
              );
          } else if (3 === t && n.stateNode.current.memoizedState.isDehydrated)
            return void (e.blockedOn =
              3 === n.tag ? n.stateNode.containerInfo : null);
      }
      e.blockedOn = null;
    }
    function Rt(e) {
      if (null !== e.blockedOn) return !1;
      for (var t = e.targetContainers; 0 < t.length; ) {
        var n = Gt(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
        if (null !== n)
          return null !== (t = di(n)) && bt(t), (e.blockedOn = n), !1;
        var r = new (n = e.nativeEvent).constructor(n.type, n);
        (ye = r), n.target.dispatchEvent(r), (ye = null), t.shift();
      }
      return !0;
    }
    function At(e, t, n) {
      Rt(e) && n.delete(t);
    }
    function Dt() {
      (St = !1),
        null !== Ct && Rt(Ct) && (Ct = null),
        null !== Et && Rt(Et) && (Et = null),
        null !== Nt && Rt(Nt) && (Nt = null),
        Lt.forEach(At),
        Ot.forEach(At);
    }
    function Ft(e, t) {
      e.blockedOn === t &&
        ((e.blockedOn = null),
        St ||
          ((St = !0),
          i.unstable_scheduleCallback(i.unstable_NormalPriority, Dt)));
    }
    function Mt(e) {
      function t(t) {
        return Ft(t, e);
      }
      if (0 < _t.length) {
        Ft(_t[0], e);
        for (var n = 1; n < _t.length; n++) {
          var r = _t[n];
          r.blockedOn === e && (r.blockedOn = null);
        }
      }
      for (
        null !== Ct && Ft(Ct, e),
          null !== Et && Ft(Et, e),
          null !== Nt && Ft(Nt, e),
          Lt.forEach(t),
          Ot.forEach(t),
          n = 0;
        n < It.length;
        n++
      )
        (r = It[n]).blockedOn === e && (r.blockedOn = null);
      for (; 0 < It.length && null === (n = It[0]).blockedOn; )
        jt(n), null === n.blockedOn && It.shift();
    }
    var Vt = w.ReactCurrentBatchConfig,
      Wt = !0;
    function $t(e, t, n, r) {
      var i = gt,
        a = Vt.transition;
      Vt.transition = null;
      try {
        (gt = 1), Ht(e, t, n, r);
      } finally {
        (gt = i), (Vt.transition = a);
      }
    }
    function Ut(e, t, n, r) {
      var i = gt,
        a = Vt.transition;
      Vt.transition = null;
      try {
        (gt = 4), Ht(e, t, n, r);
      } finally {
        (gt = i), (Vt.transition = a);
      }
    }
    function Ht(e, t, n, r) {
      if (Wt) {
        var i = Gt(e, t, n, r);
        if (null === i) Dr(e, t, r, Bt, n), Pt(e, r);
        else if (
          (function (e, t, n, r, i) {
            switch (t) {
              case "focusin":
                return (Ct = Tt(Ct, e, t, n, r, i)), !0;
              case "dragenter":
                return (Et = Tt(Et, e, t, n, r, i)), !0;
              case "mouseover":
                return (Nt = Tt(Nt, e, t, n, r, i)), !0;
              case "pointerover":
                var a = i.pointerId;
                return Lt.set(a, Tt(Lt.get(a) || null, e, t, n, r, i)), !0;
              case "gotpointercapture":
                return (
                  (a = i.pointerId),
                  Ot.set(a, Tt(Ot.get(a) || null, e, t, n, r, i)),
                  !0
                );
            }
            return !1;
          })(i, e, t, n, r)
        )
          r.stopPropagation();
        else if ((Pt(e, r), 4 & t && -1 < zt.indexOf(e))) {
          for (; null !== i; ) {
            var a = di(i);
            if (
              (null !== a && yt(a),
              null === (a = Gt(e, t, n, r)) && Dr(e, t, r, Bt, n),
              a === i)
            )
              break;
            i = a;
          }
          null !== i && r.stopPropagation();
        } else Dr(e, t, r, null, n);
      }
    }
    var Bt = null;
    function Gt(e, t, n, r) {
      if (((Bt = null), null !== (e = fi((e = be(r))))))
        if (null === (t = Ve(e))) e = null;
        else if (13 === (n = t.tag)) {
          if (null !== (e = We(t))) return e;
          e = null;
        } else if (3 === n) {
          if (t.stateNode.current.memoizedState.isDehydrated)
            return 3 === t.tag ? t.stateNode.containerInfo : null;
          e = null;
        } else t !== e && (e = null);
      return (Bt = e), null;
    }
    function Qt(e) {
      switch (e) {
        case "cancel":
        case "click":
        case "close":
        case "contextmenu":
        case "copy":
        case "cut":
        case "auxclick":
        case "dblclick":
        case "dragend":
        case "dragstart":
        case "drop":
        case "focusin":
        case "focusout":
        case "input":
        case "invalid":
        case "keydown":
        case "keypress":
        case "keyup":
        case "mousedown":
        case "mouseup":
        case "paste":
        case "pause":
        case "play":
        case "pointercancel":
        case "pointerdown":
        case "pointerup":
        case "ratechange":
        case "reset":
        case "resize":
        case "seeked":
        case "submit":
        case "touchcancel":
        case "touchend":
        case "touchstart":
        case "volumechange":
        case "change":
        case "selectionchange":
        case "textInput":
        case "compositionstart":
        case "compositionend":
        case "compositionupdate":
        case "beforeblur":
        case "afterblur":
        case "beforeinput":
        case "blur":
        case "fullscreenchange":
        case "focus":
        case "hashchange":
        case "popstate":
        case "select":
        case "selectstart":
          return 1;
        case "drag":
        case "dragenter":
        case "dragexit":
        case "dragleave":
        case "dragover":
        case "mousemove":
        case "mouseout":
        case "mouseover":
        case "pointermove":
        case "pointerout":
        case "pointerover":
        case "scroll":
        case "toggle":
        case "touchmove":
        case "wheel":
        case "mouseenter":
        case "mouseleave":
        case "pointerenter":
        case "pointerleave":
          return 4;
        case "message":
          switch (Ke()) {
            case Xe:
              return 1;
            case Ye:
              return 4;
            case Je:
            case Ze:
              return 16;
            case et:
              return 536870912;
            default:
              return 16;
          }
        default:
          return 16;
      }
    }
    var qt = null,
      Kt = null,
      Xt = null;
    function Yt() {
      if (Xt) return Xt;
      var e,
        t,
        n = Kt,
        r = n.length,
        i = "value" in qt ? qt.value : qt.textContent,
        a = i.length;
      for (e = 0; e < r && n[e] === i[e]; e++);
      var o = r - e;
      for (t = 1; t <= o && n[r - t] === i[a - t]; t++);
      return (Xt = i.slice(e, 1 < t ? 1 - t : void 0));
    }
    function Jt(e) {
      var t = e.keyCode;
      return (
        "charCode" in e
          ? 0 === (e = e.charCode) && 13 === t && (e = 13)
          : (e = t),
        10 === e && (e = 13),
        32 <= e || 13 === e ? e : 0
      );
    }
    function Zt() {
      return !0;
    }
    function en() {
      return !1;
    }
    function tn(e) {
      function t(t, n, r, i, a) {
        for (var o in ((this._reactName = t),
        (this._targetInst = r),
        (this.type = n),
        (this.nativeEvent = i),
        (this.target = a),
        (this.currentTarget = null),
        e))
          e.hasOwnProperty(o) && ((t = e[o]), (this[o] = t ? t(i) : i[o]));
        return (
          (this.isDefaultPrevented = (
            null != i.defaultPrevented
              ? i.defaultPrevented
              : !1 === i.returnValue
          )
            ? Zt
            : en),
          (this.isPropagationStopped = en),
          this
        );
      }
      return (
        D(t.prototype, {
          preventDefault: function () {
            this.defaultPrevented = !0;
            var e = this.nativeEvent;
            e &&
              (e.preventDefault
                ? e.preventDefault()
                : "unknown" !== typeof e.returnValue && (e.returnValue = !1),
              (this.isDefaultPrevented = Zt));
          },
          stopPropagation: function () {
            var e = this.nativeEvent;
            e &&
              (e.stopPropagation
                ? e.stopPropagation()
                : "unknown" !== typeof e.cancelBubble && (e.cancelBubble = !0),
              (this.isPropagationStopped = Zt));
          },
          persist: function () {},
          isPersistent: Zt,
        }),
        t
      );
    }
    var nn,
      rn,
      an,
      on = {
        eventPhase: 0,
        bubbles: 0,
        cancelable: 0,
        timeStamp: function (e) {
          return e.timeStamp || Date.now();
        },
        defaultPrevented: 0,
        isTrusted: 0,
      },
      ln = tn(on),
      un = D({}, on, { view: 0, detail: 0 }),
      sn = tn(un),
      cn = D({}, un, {
        screenX: 0,
        screenY: 0,
        clientX: 0,
        clientY: 0,
        pageX: 0,
        pageY: 0,
        ctrlKey: 0,
        shiftKey: 0,
        altKey: 0,
        metaKey: 0,
        getModifierState: kn,
        button: 0,
        buttons: 0,
        relatedTarget: function (e) {
          return void 0 === e.relatedTarget
            ? e.fromElement === e.srcElement
              ? e.toElement
              : e.fromElement
            : e.relatedTarget;
        },
        movementX: function (e) {
          return "movementX" in e
            ? e.movementX
            : (e !== an &&
                (an && "mousemove" === e.type
                  ? ((nn = e.screenX - an.screenX),
                    (rn = e.screenY - an.screenY))
                  : (rn = nn = 0),
                (an = e)),
              nn);
        },
        movementY: function (e) {
          return "movementY" in e ? e.movementY : rn;
        },
      }),
      fn = tn(cn),
      dn = tn(D({}, cn, { dataTransfer: 0 })),
      pn = tn(D({}, un, { relatedTarget: 0 })),
      hn = tn(
        D({}, on, { animationName: 0, elapsedTime: 0, pseudoElement: 0 })
      ),
      vn = tn(
        D({}, on, {
          clipboardData: function (e) {
            return "clipboardData" in e
              ? e.clipboardData
              : window.clipboardData;
          },
        })
      ),
      gn = tn(D({}, on, { data: 0 })),
      mn = {
        Esc: "Escape",
        Spacebar: " ",
        Left: "ArrowLeft",
        Up: "ArrowUp",
        Right: "ArrowRight",
        Down: "ArrowDown",
        Del: "Delete",
        Win: "OS",
        Menu: "ContextMenu",
        Apps: "ContextMenu",
        Scroll: "ScrollLock",
        MozPrintableKey: "Unidentified",
      },
      yn = {
        8: "Backspace",
        9: "Tab",
        12: "Clear",
        13: "Enter",
        16: "Shift",
        17: "Control",
        18: "Alt",
        19: "Pause",
        20: "CapsLock",
        27: "Escape",
        32: " ",
        33: "PageUp",
        34: "PageDown",
        35: "End",
        36: "Home",
        37: "ArrowLeft",
        38: "ArrowUp",
        39: "ArrowRight",
        40: "ArrowDown",
        45: "Insert",
        46: "Delete",
        112: "F1",
        113: "F2",
        114: "F3",
        115: "F4",
        116: "F5",
        117: "F6",
        118: "F7",
        119: "F8",
        120: "F9",
        121: "F10",
        122: "F11",
        123: "F12",
        144: "NumLock",
        145: "ScrollLock",
        224: "Meta",
      },
      bn = {
        Alt: "altKey",
        Control: "ctrlKey",
        Meta: "metaKey",
        Shift: "shiftKey",
      };
    function wn(e) {
      var t = this.nativeEvent;
      return t.getModifierState
        ? t.getModifierState(e)
        : !!(e = bn[e]) && !!t[e];
    }
    function kn() {
      return wn;
    }
    var xn = tn(
        D({}, un, {
          key: function (e) {
            if (e.key) {
              var t = mn[e.key] || e.key;
              if ("Unidentified" !== t) return t;
            }
            return "keypress" === e.type
              ? 13 === (e = Jt(e))
                ? "Enter"
                : String.fromCharCode(e)
              : "keydown" === e.type || "keyup" === e.type
              ? yn[e.keyCode] || "Unidentified"
              : "";
          },
          code: 0,
          location: 0,
          ctrlKey: 0,
          shiftKey: 0,
          altKey: 0,
          metaKey: 0,
          repeat: 0,
          locale: 0,
          getModifierState: kn,
          charCode: function (e) {
            return "keypress" === e.type ? Jt(e) : 0;
          },
          keyCode: function (e) {
            return "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0;
          },
          which: function (e) {
            return "keypress" === e.type
              ? Jt(e)
              : "keydown" === e.type || "keyup" === e.type
              ? e.keyCode
              : 0;
          },
        })
      ),
      Sn = tn(
        D({}, cn, {
          pointerId: 0,
          width: 0,
          height: 0,
          pressure: 0,
          tangentialPressure: 0,
          tiltX: 0,
          tiltY: 0,
          twist: 0,
          pointerType: 0,
          isPrimary: 0,
        })
      ),
      _n = tn(
        D({}, un, {
          touches: 0,
          targetTouches: 0,
          changedTouches: 0,
          altKey: 0,
          metaKey: 0,
          ctrlKey: 0,
          shiftKey: 0,
          getModifierState: kn,
        })
      ),
      Cn = tn(D({}, on, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 })),
      En = tn(
        D({}, cn, {
          deltaX: function (e) {
            return "deltaX" in e
              ? e.deltaX
              : "wheelDeltaX" in e
              ? -e.wheelDeltaX
              : 0;
          },
          deltaY: function (e) {
            return "deltaY" in e
              ? e.deltaY
              : "wheelDeltaY" in e
              ? -e.wheelDeltaY
              : "wheelDelta" in e
              ? -e.wheelDelta
              : 0;
          },
          deltaZ: 0,
          deltaMode: 0,
        })
      ),
      Nn = [9, 13, 27, 32],
      Ln = c && "CompositionEvent" in window,
      On = null;
    c && "documentMode" in document && (On = document.documentMode);
    var In = c && "TextEvent" in window && !On,
      zn = c && (!Ln || (On && 8 < On && 11 >= On)),
      Pn = String.fromCharCode(32),
      Tn = !1;
    function jn(e, t) {
      switch (e) {
        case "keyup":
          return -1 !== Nn.indexOf(t.keyCode);
        case "keydown":
          return 229 !== t.keyCode;
        case "keypress":
        case "mousedown":
        case "focusout":
          return !0;
        default:
          return !1;
      }
    }
    function Rn(e) {
      return "object" === typeof (e = e.detail) && "data" in e ? e.data : null;
    }
    var An = !1;
    var Dn = {
      color: !0,
      date: !0,
      datetime: !0,
      "datetime-local": !0,
      email: !0,
      month: !0,
      number: !0,
      password: !0,
      range: !0,
      search: !0,
      tel: !0,
      text: !0,
      time: !0,
      url: !0,
      week: !0,
    };
    function Fn(e) {
      var t = e && e.nodeName && e.nodeName.toLowerCase();
      return "input" === t ? !!Dn[e.type] : "textarea" === t;
    }
    function Mn(e, t, n, r) {
      _e(r),
        0 < (t = Mr(t, "onChange")).length &&
          ((n = new ln("onChange", "change", null, n, r)),
          e.push({ event: n, listeners: t }));
    }
    var Vn = null,
      Wn = null;
    function $n(e) {
      zr(e, 0);
    }
    function Un(e) {
      if (G(pi(e))) return e;
    }
    function Hn(e, t) {
      if ("change" === e) return t;
    }
    var Bn = !1;
    if (c) {
      var Gn;
      if (c) {
        var Qn = "oninput" in document;
        if (!Qn) {
          var qn = document.createElement("div");
          qn.setAttribute("oninput", "return;"),
            (Qn = "function" === typeof qn.oninput);
        }
        Gn = Qn;
      } else Gn = !1;
      Bn = Gn && (!document.documentMode || 9 < document.documentMode);
    }
    function Kn() {
      Vn && (Vn.detachEvent("onpropertychange", Xn), (Wn = Vn = null));
    }
    function Xn(e) {
      if ("value" === e.propertyName && Un(Wn)) {
        var t = [];
        Mn(t, Wn, e, be(e)), Oe($n, t);
      }
    }
    function Yn(e, t, n) {
      "focusin" === e
        ? (Kn(), (Wn = n), (Vn = t).attachEvent("onpropertychange", Xn))
        : "focusout" === e && Kn();
    }
    function Jn(e) {
      if ("selectionchange" === e || "keyup" === e || "keydown" === e)
        return Un(Wn);
    }
    function Zn(e, t) {
      if ("click" === e) return Un(t);
    }
    function er(e, t) {
      if ("input" === e || "change" === e) return Un(t);
    }
    var tr =
      "function" === typeof Object.is
        ? Object.is
        : function (e, t) {
            return (
              (e === t && (0 !== e || 1 / e === 1 / t)) || (e !== e && t !== t)
            );
          };
    function nr(e, t) {
      if (tr(e, t)) return !0;
      if (
        "object" !== typeof e ||
        null === e ||
        "object" !== typeof t ||
        null === t
      )
        return !1;
      var n = Object.keys(e),
        r = Object.keys(t);
      if (n.length !== r.length) return !1;
      for (r = 0; r < n.length; r++) {
        var i = n[r];
        if (!f.call(t, i) || !tr(e[i], t[i])) return !1;
      }
      return !0;
    }
    function rr(e) {
      for (; e && e.firstChild; ) e = e.firstChild;
      return e;
    }
    function ir(e, t) {
      var n,
        r = rr(e);
      for (e = 0; r; ) {
        if (3 === r.nodeType) {
          if (((n = e + r.textContent.length), e <= t && n >= t))
            return { node: r, offset: t - e };
          e = n;
        }
        e: {
          for (; r; ) {
            if (r.nextSibling) {
              r = r.nextSibling;
              break e;
            }
            r = r.parentNode;
          }
          r = void 0;
        }
        r = rr(r);
      }
    }
    function ar() {
      for (var e = window, t = Q(); t instanceof e.HTMLIFrameElement; ) {
        try {
          var n = "string" === typeof t.contentWindow.location.href;
        } catch (r) {
          n = !1;
        }
        if (!n) break;
        t = Q((e = t.contentWindow).document);
      }
      return t;
    }
    function or(e) {
      var t = e && e.nodeName && e.nodeName.toLowerCase();
      return (
        t &&
        (("input" === t &&
          ("text" === e.type ||
            "search" === e.type ||
            "tel" === e.type ||
            "url" === e.type ||
            "password" === e.type)) ||
          "textarea" === t ||
          "true" === e.contentEditable)
      );
    }
    function lr(e) {
      var t = ar(),
        n = e.focusedElem,
        r = e.selectionRange;
      if (
        t !== n &&
        n &&
        n.ownerDocument &&
        (function e(t, n) {
          return (
            !(!t || !n) &&
            (t === n ||
              ((!t || 3 !== t.nodeType) &&
                (n && 3 === n.nodeType
                  ? e(t, n.parentNode)
                  : "contains" in t
                  ? t.contains(n)
                  : !!t.compareDocumentPosition &&
                    !!(16 & t.compareDocumentPosition(n)))))
          );
        })(n.ownerDocument.documentElement, n)
      ) {
        if (null !== r && or(n))
          if (
            ((t = r.start),
            void 0 === (e = r.end) && (e = t),
            "selectionStart" in n)
          )
            (n.selectionStart = t),
              (n.selectionEnd = Math.min(e, n.value.length));
          else if (
            (e = ((t = n.ownerDocument || document) && t.defaultView) || window)
              .getSelection
          ) {
            e = e.getSelection();
            var i = n.textContent.length,
              a = Math.min(r.start, i);
            (r = void 0 === r.end ? a : Math.min(r.end, i)),
              !e.extend && a > r && ((i = r), (r = a), (a = i)),
              (i = ir(n, a));
            var o = ir(n, r);
            i &&
              o &&
              (1 !== e.rangeCount ||
                e.anchorNode !== i.node ||
                e.anchorOffset !== i.offset ||
                e.focusNode !== o.node ||
                e.focusOffset !== o.offset) &&
              ((t = t.createRange()).setStart(i.node, i.offset),
              e.removeAllRanges(),
              a > r
                ? (e.addRange(t), e.extend(o.node, o.offset))
                : (t.setEnd(o.node, o.offset), e.addRange(t)));
          }
        for (t = [], e = n; (e = e.parentNode); )
          1 === e.nodeType &&
            t.push({ element: e, left: e.scrollLeft, top: e.scrollTop });
        for (
          "function" === typeof n.focus && n.focus(), n = 0;
          n < t.length;
          n++
        )
          ((e = t[n]).element.scrollLeft = e.left),
            (e.element.scrollTop = e.top);
      }
    }
    var ur = c && "documentMode" in document && 11 >= document.documentMode,
      sr = null,
      cr = null,
      fr = null,
      dr = !1;
    function pr(e, t, n) {
      var r =
        n.window === n ? n.document : 9 === n.nodeType ? n : n.ownerDocument;
      dr ||
        null == sr ||
        sr !== Q(r) ||
        ("selectionStart" in (r = sr) && or(r)
          ? (r = { start: r.selectionStart, end: r.selectionEnd })
          : (r = {
              anchorNode: (r = (
                (r.ownerDocument && r.ownerDocument.defaultView) ||
                window
              ).getSelection()).anchorNode,
              anchorOffset: r.anchorOffset,
              focusNode: r.focusNode,
              focusOffset: r.focusOffset,
            }),
        (fr && nr(fr, r)) ||
          ((fr = r),
          0 < (r = Mr(cr, "onSelect")).length &&
            ((t = new ln("onSelect", "select", null, t, n)),
            e.push({ event: t, listeners: r }),
            (t.target = sr))));
    }
    function hr(e, t) {
      var n = {};
      return (
        (n[e.toLowerCase()] = t.toLowerCase()),
        (n["Webkit" + e] = "webkit" + t),
        (n["Moz" + e] = "moz" + t),
        n
      );
    }
    var vr = {
        animationend: hr("Animation", "AnimationEnd"),
        animationiteration: hr("Animation", "AnimationIteration"),
        animationstart: hr("Animation", "AnimationStart"),
        transitionend: hr("Transition", "TransitionEnd"),
      },
      gr = {},
      mr = {};
    function yr(e) {
      if (gr[e]) return gr[e];
      if (!vr[e]) return e;
      var t,
        n = vr[e];
      for (t in n) if (n.hasOwnProperty(t) && t in mr) return (gr[e] = n[t]);
      return e;
    }
    c &&
      ((mr = document.createElement("div").style),
      "AnimationEvent" in window ||
        (delete vr.animationend.animation,
        delete vr.animationiteration.animation,
        delete vr.animationstart.animation),
      "TransitionEvent" in window || delete vr.transitionend.transition);
    var br = yr("animationend"),
      wr = yr("animationiteration"),
      kr = yr("animationstart"),
      xr = yr("transitionend"),
      Sr = new Map(),
      _r =
        "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
          " "
        );
    function Cr(e, t) {
      Sr.set(e, t), u(t, [e]);
    }
    for (var Er = 0; Er < _r.length; Er++) {
      var Nr = _r[Er];
      Cr(Nr.toLowerCase(), "on" + (Nr[0].toUpperCase() + Nr.slice(1)));
    }
    Cr(br, "onAnimationEnd"),
      Cr(wr, "onAnimationIteration"),
      Cr(kr, "onAnimationStart"),
      Cr("dblclick", "onDoubleClick"),
      Cr("focusin", "onFocus"),
      Cr("focusout", "onBlur"),
      Cr(xr, "onTransitionEnd"),
      s("onMouseEnter", ["mouseout", "mouseover"]),
      s("onMouseLeave", ["mouseout", "mouseover"]),
      s("onPointerEnter", ["pointerout", "pointerover"]),
      s("onPointerLeave", ["pointerout", "pointerover"]),
      u(
        "onChange",
        "change click focusin focusout input keydown keyup selectionchange".split(
          " "
        )
      ),
      u(
        "onSelect",
        "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
          " "
        )
      ),
      u("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]),
      u(
        "onCompositionEnd",
        "compositionend focusout keydown keypress keyup mousedown".split(" ")
      ),
      u(
        "onCompositionStart",
        "compositionstart focusout keydown keypress keyup mousedown".split(" ")
      ),
      u(
        "onCompositionUpdate",
        "compositionupdate focusout keydown keypress keyup mousedown".split(" ")
      );
    var Lr =
        "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
          " "
        ),
      Or = new Set(
        "cancel close invalid load scroll toggle".split(" ").concat(Lr)
      );
    function Ir(e, t, n) {
      var r = e.type || "unknown-event";
      (e.currentTarget = n),
        (function (e, t, n, r, i, o, l, u, s) {
          if ((Me.apply(this, arguments), je)) {
            if (!je) throw Error(a(198));
            var c = Re;
            (je = !1), (Re = null), Ae || ((Ae = !0), (De = c));
          }
        })(r, t, void 0, e),
        (e.currentTarget = null);
    }
    function zr(e, t) {
      t = 0 !== (4 & t);
      for (var n = 0; n < e.length; n++) {
        var r = e[n],
          i = r.event;
        r = r.listeners;
        e: {
          var a = void 0;
          if (t)
            for (var o = r.length - 1; 0 <= o; o--) {
              var l = r[o],
                u = l.instance,
                s = l.currentTarget;
              if (((l = l.listener), u !== a && i.isPropagationStopped()))
                break e;
              Ir(i, l, s), (a = u);
            }
          else
            for (o = 0; o < r.length; o++) {
              if (
                ((u = (l = r[o]).instance),
                (s = l.currentTarget),
                (l = l.listener),
                u !== a && i.isPropagationStopped())
              )
                break e;
              Ir(i, l, s), (a = u);
            }
        }
      }
      if (Ae) throw ((e = De), (Ae = !1), (De = null), e);
    }
    function Pr(e, t) {
      var n = t[ui];
      void 0 === n && (n = t[ui] = new Set());
      var r = e + "__bubble";
      n.has(r) || (Ar(t, e, 2, !1), n.add(r));
    }
    function Tr(e, t, n) {
      var r = 0;
      t && (r |= 4), Ar(n, e, r, t);
    }
    var jr = "_reactListening" + Math.random().toString(36).slice(2);
    function Rr(e) {
      if (!e[jr]) {
        (e[jr] = !0),
          o.forEach(function (t) {
            "selectionchange" !== t &&
              (Or.has(t) || Tr(t, !1, e), Tr(t, !0, e));
          });
        var t = 9 === e.nodeType ? e : e.ownerDocument;
        null === t || t[jr] || ((t[jr] = !0), Tr("selectionchange", !1, t));
      }
    }
    function Ar(e, t, n, r) {
      switch (Qt(t)) {
        case 1:
          var i = $t;
          break;
        case 4:
          i = Ut;
          break;
        default:
          i = Ht;
      }
      (n = i.bind(null, t, n, e)),
        (i = void 0),
        !ze ||
          ("touchstart" !== t && "touchmove" !== t && "wheel" !== t) ||
          (i = !0),
        r
          ? void 0 !== i
            ? e.addEventListener(t, n, { capture: !0, passive: i })
            : e.addEventListener(t, n, !0)
          : void 0 !== i
          ? e.addEventListener(t, n, { passive: i })
          : e.addEventListener(t, n, !1);
    }
    function Dr(e, t, n, r, i) {
      var a = r;
      if (0 === (1 & t) && 0 === (2 & t) && null !== r)
        e: for (;;) {
          if (null === r) return;
          var o = r.tag;
          if (3 === o || 4 === o) {
            var l = r.stateNode.containerInfo;
            if (l === i || (8 === l.nodeType && l.parentNode === i)) break;
            if (4 === o)
              for (o = r.return; null !== o; ) {
                var u = o.tag;
                if (
                  (3 === u || 4 === u) &&
                  ((u = o.stateNode.containerInfo) === i ||
                    (8 === u.nodeType && u.parentNode === i))
                )
                  return;
                o = o.return;
              }
            for (; null !== l; ) {
              if (null === (o = fi(l))) return;
              if (5 === (u = o.tag) || 6 === u) {
                r = a = o;
                continue e;
              }
              l = l.parentNode;
            }
          }
          r = r.return;
        }
      Oe(function () {
        var r = a,
          i = be(n),
          o = [];
        e: {
          var l = Sr.get(e);
          if (void 0 !== l) {
            var u = ln,
              s = e;
            switch (e) {
              case "keypress":
                if (0 === Jt(n)) break e;
              case "keydown":
              case "keyup":
                u = xn;
                break;
              case "focusin":
                (s = "focus"), (u = pn);
                break;
              case "focusout":
                (s = "blur"), (u = pn);
                break;
              case "beforeblur":
              case "afterblur":
                u = pn;
                break;
              case "click":
                if (2 === n.button) break e;
              case "auxclick":
              case "dblclick":
              case "mousedown":
              case "mousemove":
              case "mouseup":
              case "mouseout":
              case "mouseover":
              case "contextmenu":
                u = fn;
                break;
              case "drag":
              case "dragend":
              case "dragenter":
              case "dragexit":
              case "dragleave":
              case "dragover":
              case "dragstart":
              case "drop":
                u = dn;
                break;
              case "touchcancel":
              case "touchend":
              case "touchmove":
              case "touchstart":
                u = _n;
                break;
              case br:
              case wr:
              case kr:
                u = hn;
                break;
              case xr:
                u = Cn;
                break;
              case "scroll":
                u = sn;
                break;
              case "wheel":
                u = En;
                break;
              case "copy":
              case "cut":
              case "paste":
                u = vn;
                break;
              case "gotpointercapture":
              case "lostpointercapture":
              case "pointercancel":
              case "pointerdown":
              case "pointermove":
              case "pointerout":
              case "pointerover":
              case "pointerup":
                u = Sn;
            }
            var c = 0 !== (4 & t),
              f = !c && "scroll" === e,
              d = c ? (null !== l ? l + "Capture" : null) : l;
            c = [];
            for (var p, h = r; null !== h; ) {
              var v = (p = h).stateNode;
              if (
                (5 === p.tag &&
                  null !== v &&
                  ((p = v),
                  null !== d && null != (v = Ie(h, d)) && c.push(Fr(h, v, p))),
                f)
              )
                break;
              h = h.return;
            }
            0 < c.length &&
              ((l = new u(l, s, null, n, i)),
              o.push({ event: l, listeners: c }));
          }
        }
        if (0 === (7 & t)) {
          if (
            ((u = "mouseout" === e || "pointerout" === e),
            (!(l = "mouseover" === e || "pointerover" === e) ||
              n === ye ||
              !(s = n.relatedTarget || n.fromElement) ||
              (!fi(s) && !s[li])) &&
              (u || l) &&
              ((l =
                i.window === i
                  ? i
                  : (l = i.ownerDocument)
                  ? l.defaultView || l.parentWindow
                  : window),
              u
                ? ((u = r),
                  null !==
                    (s = (s = n.relatedTarget || n.toElement) ? fi(s) : null) &&
                    (s !== (f = Ve(s)) || (5 !== s.tag && 6 !== s.tag)) &&
                    (s = null))
                : ((u = null), (s = r)),
              u !== s))
          ) {
            if (
              ((c = fn),
              (v = "onMouseLeave"),
              (d = "onMouseEnter"),
              (h = "mouse"),
              ("pointerout" !== e && "pointerover" !== e) ||
                ((c = Sn),
                (v = "onPointerLeave"),
                (d = "onPointerEnter"),
                (h = "pointer")),
              (f = null == u ? l : pi(u)),
              (p = null == s ? l : pi(s)),
              ((l = new c(v, h + "leave", u, n, i)).target = f),
              (l.relatedTarget = p),
              (v = null),
              fi(i) === r &&
                (((c = new c(d, h + "enter", s, n, i)).target = p),
                (c.relatedTarget = f),
                (v = c)),
              (f = v),
              u && s)
            )
              e: {
                for (d = s, h = 0, p = c = u; p; p = Vr(p)) h++;
                for (p = 0, v = d; v; v = Vr(v)) p++;
                for (; 0 < h - p; ) (c = Vr(c)), h--;
                for (; 0 < p - h; ) (d = Vr(d)), p--;
                for (; h--; ) {
                  if (c === d || (null !== d && c === d.alternate)) break e;
                  (c = Vr(c)), (d = Vr(d));
                }
                c = null;
              }
            else c = null;
            null !== u && Wr(o, l, u, c, !1),
              null !== s && null !== f && Wr(o, f, s, c, !0);
          }
          if (
            "select" ===
              (u =
                (l = r ? pi(r) : window).nodeName &&
                l.nodeName.toLowerCase()) ||
            ("input" === u && "file" === l.type)
          )
            var g = Hn;
          else if (Fn(l))
            if (Bn) g = er;
            else {
              g = Jn;
              var m = Yn;
            }
          else
            (u = l.nodeName) &&
              "input" === u.toLowerCase() &&
              ("checkbox" === l.type || "radio" === l.type) &&
              (g = Zn);
          switch (
            (g && (g = g(e, r))
              ? Mn(o, g, n, i)
              : (m && m(e, l, r),
                "focusout" === e &&
                  (m = l._wrapperState) &&
                  m.controlled &&
                  "number" === l.type &&
                  Z(l, "number", l.value)),
            (m = r ? pi(r) : window),
            e)
          ) {
            case "focusin":
              (Fn(m) || "true" === m.contentEditable) &&
                ((sr = m), (cr = r), (fr = null));
              break;
            case "focusout":
              fr = cr = sr = null;
              break;
            case "mousedown":
              dr = !0;
              break;
            case "contextmenu":
            case "mouseup":
            case "dragend":
              (dr = !1), pr(o, n, i);
              break;
            case "selectionchange":
              if (ur) break;
            case "keydown":
            case "keyup":
              pr(o, n, i);
          }
          var y;
          if (Ln)
            e: {
              switch (e) {
                case "compositionstart":
                  var b = "onCompositionStart";
                  break e;
                case "compositionend":
                  b = "onCompositionEnd";
                  break e;
                case "compositionupdate":
                  b = "onCompositionUpdate";
                  break e;
              }
              b = void 0;
            }
          else
            An
              ? jn(e, n) && (b = "onCompositionEnd")
              : "keydown" === e &&
                229 === n.keyCode &&
                (b = "onCompositionStart");
          b &&
            (zn &&
              "ko" !== n.locale &&
              (An || "onCompositionStart" !== b
                ? "onCompositionEnd" === b && An && (y = Yt())
                : ((Kt = "value" in (qt = i) ? qt.value : qt.textContent),
                  (An = !0))),
            0 < (m = Mr(r, b)).length &&
              ((b = new gn(b, e, null, n, i)),
              o.push({ event: b, listeners: m }),
              y ? (b.data = y) : null !== (y = Rn(n)) && (b.data = y))),
            (y = In
              ? (function (e, t) {
                  switch (e) {
                    case "compositionend":
                      return Rn(t);
                    case "keypress":
                      return 32 !== t.which ? null : ((Tn = !0), Pn);
                    case "textInput":
                      return (e = t.data) === Pn && Tn ? null : e;
                    default:
                      return null;
                  }
                })(e, n)
              : (function (e, t) {
                  if (An)
                    return "compositionend" === e || (!Ln && jn(e, t))
                      ? ((e = Yt()), (Xt = Kt = qt = null), (An = !1), e)
                      : null;
                  switch (e) {
                    case "paste":
                      return null;
                    case "keypress":
                      if (
                        !(t.ctrlKey || t.altKey || t.metaKey) ||
                        (t.ctrlKey && t.altKey)
                      ) {
                        if (t.char && 1 < t.char.length) return t.char;
                        if (t.which) return String.fromCharCode(t.which);
                      }
                      return null;
                    case "compositionend":
                      return zn && "ko" !== t.locale ? null : t.data;
                    default:
                      return null;
                  }
                })(e, n)) &&
              0 < (r = Mr(r, "onBeforeInput")).length &&
              ((i = new gn("onBeforeInput", "beforeinput", null, n, i)),
              o.push({ event: i, listeners: r }),
              (i.data = y));
        }
        zr(o, t);
      });
    }
    function Fr(e, t, n) {
      return { instance: e, listener: t, currentTarget: n };
    }
    function Mr(e, t) {
      for (var n = t + "Capture", r = []; null !== e; ) {
        var i = e,
          a = i.stateNode;
        5 === i.tag &&
          null !== a &&
          ((i = a),
          null != (a = Ie(e, n)) && r.unshift(Fr(e, a, i)),
          null != (a = Ie(e, t)) && r.push(Fr(e, a, i))),
          (e = e.return);
      }
      return r;
    }
    function Vr(e) {
      if (null === e) return null;
      do {
        e = e.return;
      } while (e && 5 !== e.tag);
      return e || null;
    }
    function Wr(e, t, n, r, i) {
      for (var a = t._reactName, o = []; null !== n && n !== r; ) {
        var l = n,
          u = l.alternate,
          s = l.stateNode;
        if (null !== u && u === r) break;
        5 === l.tag &&
          null !== s &&
          ((l = s),
          i
            ? null != (u = Ie(n, a)) && o.unshift(Fr(n, u, l))
            : i || (null != (u = Ie(n, a)) && o.push(Fr(n, u, l)))),
          (n = n.return);
      }
      0 !== o.length && e.push({ event: t, listeners: o });
    }
    var $r = /\r\n?/g,
      Ur = /\u0000|\uFFFD/g;
    function Hr(e) {
      return ("string" === typeof e ? e : "" + e)
        .replace($r, "\n")
        .replace(Ur, "");
    }
    function Br(e, t, n) {
      if (((t = Hr(t)), Hr(e) !== t && n)) throw Error(a(425));
    }
    function Gr() {}
    var Qr = null,
      qr = null;
    function Kr(e, t) {
      return (
        "textarea" === e ||
        "noscript" === e ||
        "string" === typeof t.children ||
        "number" === typeof t.children ||
        ("object" === typeof t.dangerouslySetInnerHTML &&
          null !== t.dangerouslySetInnerHTML &&
          null != t.dangerouslySetInnerHTML.__html)
      );
    }
    var Xr = "function" === typeof setTimeout ? setTimeout : void 0,
      Yr = "function" === typeof clearTimeout ? clearTimeout : void 0,
      Jr = "function" === typeof Promise ? Promise : void 0,
      Zr =
        "function" === typeof queueMicrotask
          ? queueMicrotask
          : "undefined" !== typeof Jr
          ? function (e) {
              return Jr.resolve(null).then(e).catch(ei);
            }
          : Xr;
    function ei(e) {
      setTimeout(function () {
        throw e;
      });
    }
    function ti(e, t) {
      var n = t,
        r = 0;
      do {
        var i = n.nextSibling;
        if ((e.removeChild(n), i && 8 === i.nodeType))
          if ("/$" === (n = i.data)) {
            if (0 === r) return e.removeChild(i), void Mt(t);
            r--;
          } else ("$" !== n && "$?" !== n && "$!" !== n) || r++;
        n = i;
      } while (n);
      Mt(t);
    }
    function ni(e) {
      for (; null != e; e = e.nextSibling) {
        var t = e.nodeType;
        if (1 === t || 3 === t) break;
        if (8 === t) {
          if ("$" === (t = e.data) || "$!" === t || "$?" === t) break;
          if ("/$" === t) return null;
        }
      }
      return e;
    }
    function ri(e) {
      e = e.previousSibling;
      for (var t = 0; e; ) {
        if (8 === e.nodeType) {
          var n = e.data;
          if ("$" === n || "$!" === n || "$?" === n) {
            if (0 === t) return e;
            t--;
          } else "/$" === n && t++;
        }
        e = e.previousSibling;
      }
      return null;
    }
    var ii = Math.random().toString(36).slice(2),
      ai = "__reactFiber$" + ii,
      oi = "__reactProps$" + ii,
      li = "__reactContainer$" + ii,
      ui = "__reactEvents$" + ii,
      si = "__reactListeners$" + ii,
      ci = "__reactHandles$" + ii;
    function fi(e) {
      var t = e[ai];
      if (t) return t;
      for (var n = e.parentNode; n; ) {
        if ((t = n[li] || n[ai])) {
          if (
            ((n = t.alternate),
            null !== t.child || (null !== n && null !== n.child))
          )
            for (e = ri(e); null !== e; ) {
              if ((n = e[ai])) return n;
              e = ri(e);
            }
          return t;
        }
        n = (e = n).parentNode;
      }
      return null;
    }
    function di(e) {
      return !(e = e[ai] || e[li]) ||
        (5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag)
        ? null
        : e;
    }
    function pi(e) {
      if (5 === e.tag || 6 === e.tag) return e.stateNode;
      throw Error(a(33));
    }
    function hi(e) {
      return e[oi] || null;
    }
    var vi = [],
      gi = -1;
    function mi(e) {
      return { current: e };
    }
    function yi(e) {
      0 > gi || ((e.current = vi[gi]), (vi[gi] = null), gi--);
    }
    function bi(e, t) {
      gi++, (vi[gi] = e.current), (e.current = t);
    }
    var wi = {},
      ki = mi(wi),
      xi = mi(!1),
      Si = wi;
    function _i(e, t) {
      var n = e.type.contextTypes;
      if (!n) return wi;
      var r = e.stateNode;
      if (r && r.__reactInternalMemoizedUnmaskedChildContext === t)
        return r.__reactInternalMemoizedMaskedChildContext;
      var i,
        a = {};
      for (i in n) a[i] = t[i];
      return (
        r &&
          (((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = t),
          (e.__reactInternalMemoizedMaskedChildContext = a)),
        a
      );
    }
    function Ci(e) {
      return null !== (e = e.childContextTypes) && void 0 !== e;
    }
    function Ei() {
      yi(xi), yi(ki);
    }
    function Ni(e, t, n) {
      if (ki.current !== wi) throw Error(a(168));
      bi(ki, t), bi(xi, n);
    }
    function Li(e, t, n) {
      var r = e.stateNode;
      if (((t = t.childContextTypes), "function" !== typeof r.getChildContext))
        return n;
      for (var i in (r = r.getChildContext()))
        if (!(i in t)) throw Error(a(108, $(e) || "Unknown", i));
      return D({}, n, r);
    }
    function Oi(e) {
      return (
        (e =
          ((e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext) ||
          wi),
        (Si = ki.current),
        bi(ki, e),
        bi(xi, xi.current),
        !0
      );
    }
    function Ii(e, t, n) {
      var r = e.stateNode;
      if (!r) throw Error(a(169));
      n
        ? ((e = Li(e, t, Si)),
          (r.__reactInternalMemoizedMergedChildContext = e),
          yi(xi),
          yi(ki),
          bi(ki, e))
        : yi(xi),
        bi(xi, n);
    }
    var zi = null,
      Pi = !1,
      Ti = !1;
    function ji(e) {
      null === zi ? (zi = [e]) : zi.push(e);
    }
    function Ri() {
      if (!Ti && null !== zi) {
        Ti = !0;
        var e = 0,
          t = gt;
        try {
          var n = zi;
          for (gt = 1; e < n.length; e++) {
            var r = n[e];
            do {
              r = r(!0);
            } while (null !== r);
          }
          (zi = null), (Pi = !1);
        } catch (i) {
          throw (null !== zi && (zi = zi.slice(e + 1)), He(Xe, Ri), i);
        } finally {
          (gt = t), (Ti = !1);
        }
      }
      return null;
    }
    var Ai = [],
      Di = 0,
      Fi = null,
      Mi = 0,
      Vi = [],
      Wi = 0,
      $i = null,
      Ui = 1,
      Hi = "";
    function Bi(e, t) {
      (Ai[Di++] = Mi), (Ai[Di++] = Fi), (Fi = e), (Mi = t);
    }
    function Gi(e, t, n) {
      (Vi[Wi++] = Ui), (Vi[Wi++] = Hi), (Vi[Wi++] = $i), ($i = e);
      var r = Ui;
      e = Hi;
      var i = 32 - rt(r) - 1;
      (r &= ~(1 << i)), (n += 1);
      var a = 32 - rt(t) + i;
      if (30 < a) {
        var o = i - (i % 5);
        (a = (r & ((1 << o) - 1)).toString(32)),
          (r >>= o),
          (i -= o),
          (Ui = (1 << (32 - rt(t) + i)) | (n << i) | r),
          (Hi = a + e);
      } else (Ui = (1 << a) | (n << i) | r), (Hi = e);
    }
    function Qi(e) {
      null !== e.return && (Bi(e, 1), Gi(e, 1, 0));
    }
    function qi(e) {
      for (; e === Fi; )
        (Fi = Ai[--Di]), (Ai[Di] = null), (Mi = Ai[--Di]), (Ai[Di] = null);
      for (; e === $i; )
        ($i = Vi[--Wi]),
          (Vi[Wi] = null),
          (Hi = Vi[--Wi]),
          (Vi[Wi] = null),
          (Ui = Vi[--Wi]),
          (Vi[Wi] = null);
    }
    var Ki = null,
      Xi = null,
      Yi = !1,
      Ji = null;
    function Zi(e, t) {
      var n = ks(5, null, null, 0);
      (n.elementType = "DELETED"),
        (n.stateNode = t),
        (n.return = e),
        null === (t = e.deletions)
          ? ((e.deletions = [n]), (e.flags |= 16))
          : t.push(n);
    }
    function ea(e, t) {
      switch (e.tag) {
        case 5:
          var n = e.type;
          return (
            null !==
              (t =
                1 !== t.nodeType || n.toLowerCase() !== t.nodeName.toLowerCase()
                  ? null
                  : t) &&
            ((e.stateNode = t), (Ki = e), (Xi = ni(t.firstChild)), !0)
          );
        case 6:
          return (
            null !==
              (t = "" === e.pendingProps || 3 !== t.nodeType ? null : t) &&
            ((e.stateNode = t), (Ki = e), (Xi = null), !0)
          );
        case 13:
          return (
            null !== (t = 8 !== t.nodeType ? null : t) &&
            ((n = null !== $i ? { id: Ui, overflow: Hi } : null),
            (e.memoizedState = {
              dehydrated: t,
              treeContext: n,
              retryLane: 1073741824,
            }),
            ((n = ks(18, null, null, 0)).stateNode = t),
            (n.return = e),
            (e.child = n),
            (Ki = e),
            (Xi = null),
            !0)
          );
        default:
          return !1;
      }
    }
    function ta(e) {
      return 0 !== (1 & e.mode) && 0 === (128 & e.flags);
    }
    function na(e) {
      if (Yi) {
        var t = Xi;
        if (t) {
          var n = t;
          if (!ea(e, t)) {
            if (ta(e)) throw Error(a(418));
            t = ni(n.nextSibling);
            var r = Ki;
            t && ea(e, t)
              ? Zi(r, n)
              : ((e.flags = (-4097 & e.flags) | 2), (Yi = !1), (Ki = e));
          }
        } else {
          if (ta(e)) throw Error(a(418));
          (e.flags = (-4097 & e.flags) | 2), (Yi = !1), (Ki = e);
        }
      }
    }
    function ra(e) {
      for (
        e = e.return;
        null !== e && 5 !== e.tag && 3 !== e.tag && 13 !== e.tag;

      )
        e = e.return;
      Ki = e;
    }
    function ia(e) {
      if (e !== Ki) return !1;
      if (!Yi) return ra(e), (Yi = !0), !1;
      var t;
      if (
        ((t = 3 !== e.tag) &&
          !(t = 5 !== e.tag) &&
          (t =
            "head" !== (t = e.type) &&
            "body" !== t &&
            !Kr(e.type, e.memoizedProps)),
        t && (t = Xi))
      ) {
        if (ta(e)) throw (aa(), Error(a(418)));
        for (; t; ) Zi(e, t), (t = ni(t.nextSibling));
      }
      if ((ra(e), 13 === e.tag)) {
        if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null))
          throw Error(a(317));
        e: {
          for (e = e.nextSibling, t = 0; e; ) {
            if (8 === e.nodeType) {
              var n = e.data;
              if ("/$" === n) {
                if (0 === t) {
                  Xi = ni(e.nextSibling);
                  break e;
                }
                t--;
              } else ("$" !== n && "$!" !== n && "$?" !== n) || t++;
            }
            e = e.nextSibling;
          }
          Xi = null;
        }
      } else Xi = Ki ? ni(e.stateNode.nextSibling) : null;
      return !0;
    }
    function aa() {
      for (var e = Xi; e; ) e = ni(e.nextSibling);
    }
    function oa() {
      (Xi = Ki = null), (Yi = !1);
    }
    function la(e) {
      null === Ji ? (Ji = [e]) : Ji.push(e);
    }
    var ua = w.ReactCurrentBatchConfig;
    function sa(e, t) {
      if (e && e.defaultProps) {
        for (var n in ((t = D({}, t)), (e = e.defaultProps)))
          void 0 === t[n] && (t[n] = e[n]);
        return t;
      }
      return t;
    }
    var ca = mi(null),
      fa = null,
      da = null,
      pa = null;
    function ha() {
      pa = da = fa = null;
    }
    function va(e) {
      var t = ca.current;
      yi(ca), (e._currentValue = t);
    }
    function ga(e, t, n) {
      for (; null !== e; ) {
        var r = e.alternate;
        if (
          ((e.childLanes & t) !== t
            ? ((e.childLanes |= t), null !== r && (r.childLanes |= t))
            : null !== r && (r.childLanes & t) !== t && (r.childLanes |= t),
          e === n)
        )
          break;
        e = e.return;
      }
    }
    function ma(e, t) {
      (fa = e),
        (pa = da = null),
        null !== (e = e.dependencies) &&
          null !== e.firstContext &&
          (0 !== (e.lanes & t) && (pl = !0), (e.firstContext = null));
    }
    function ya(e) {
      var t = e._currentValue;
      if (pa !== e)
        if (((e = { context: e, memoizedValue: t, next: null }), null === da)) {
          if (null === fa) throw Error(a(308));
          (da = e), (fa.dependencies = { lanes: 0, firstContext: e });
        } else da = da.next = e;
      return t;
    }
    var ba = null;
    function wa(e) {
      null === ba ? (ba = [e]) : ba.push(e);
    }
    function ka(e, t, n, r) {
      var i = t.interleaved;
      return (
        null === i ? ((n.next = n), wa(t)) : ((n.next = i.next), (i.next = n)),
        (t.interleaved = n),
        xa(e, r)
      );
    }
    function xa(e, t) {
      e.lanes |= t;
      var n = e.alternate;
      for (null !== n && (n.lanes |= t), n = e, e = e.return; null !== e; )
        (e.childLanes |= t),
          null !== (n = e.alternate) && (n.childLanes |= t),
          (n = e),
          (e = e.return);
      return 3 === n.tag ? n.stateNode : null;
    }
    var Sa = !1;
    function _a(e) {
      e.updateQueue = {
        baseState: e.memoizedState,
        firstBaseUpdate: null,
        lastBaseUpdate: null,
        shared: { pending: null, interleaved: null, lanes: 0 },
        effects: null,
      };
    }
    function Ca(e, t) {
      (e = e.updateQueue),
        t.updateQueue === e &&
          (t.updateQueue = {
            baseState: e.baseState,
            firstBaseUpdate: e.firstBaseUpdate,
            lastBaseUpdate: e.lastBaseUpdate,
            shared: e.shared,
            effects: e.effects,
          });
    }
    function Ea(e, t) {
      return {
        eventTime: e,
        lane: t,
        tag: 0,
        payload: null,
        callback: null,
        next: null,
      };
    }
    function Na(e, t, n) {
      var r = e.updateQueue;
      if (null === r) return null;
      if (((r = r.shared), 0 !== (2 & yu))) {
        var i = r.pending;
        return (
          null === i ? (t.next = t) : ((t.next = i.next), (i.next = t)),
          (r.pending = t),
          xa(e, n)
        );
      }
      return (
        null === (i = r.interleaved)
          ? ((t.next = t), wa(r))
          : ((t.next = i.next), (i.next = t)),
        (r.interleaved = t),
        xa(e, n)
      );
    }
    function La(e, t, n) {
      if (
        null !== (t = t.updateQueue) &&
        ((t = t.shared), 0 !== (4194240 & n))
      ) {
        var r = t.lanes;
        (n |= r &= e.pendingLanes), (t.lanes = n), vt(e, n);
      }
    }
    function Oa(e, t) {
      var n = e.updateQueue,
        r = e.alternate;
      if (null !== r && n === (r = r.updateQueue)) {
        var i = null,
          a = null;
        if (null !== (n = n.firstBaseUpdate)) {
          do {
            var o = {
              eventTime: n.eventTime,
              lane: n.lane,
              tag: n.tag,
              payload: n.payload,
              callback: n.callback,
              next: null,
            };
            null === a ? (i = a = o) : (a = a.next = o), (n = n.next);
          } while (null !== n);
          null === a ? (i = a = t) : (a = a.next = t);
        } else i = a = t;
        return (
          (n = {
            baseState: r.baseState,
            firstBaseUpdate: i,
            lastBaseUpdate: a,
            shared: r.shared,
            effects: r.effects,
          }),
          void (e.updateQueue = n)
        );
      }
      null === (e = n.lastBaseUpdate) ? (n.firstBaseUpdate = t) : (e.next = t),
        (n.lastBaseUpdate = t);
    }
    function Ia(e, t, n, r) {
      var i = e.updateQueue;
      Sa = !1;
      var a = i.firstBaseUpdate,
        o = i.lastBaseUpdate,
        l = i.shared.pending;
      if (null !== l) {
        i.shared.pending = null;
        var u = l,
          s = u.next;
        (u.next = null), null === o ? (a = s) : (o.next = s), (o = u);
        var c = e.alternate;
        null !== c &&
          (l = (c = c.updateQueue).lastBaseUpdate) !== o &&
          (null === l ? (c.firstBaseUpdate = s) : (l.next = s),
          (c.lastBaseUpdate = u));
      }
      if (null !== a) {
        var f = i.baseState;
        for (o = 0, c = s = u = null, l = a; ; ) {
          var d = l.lane,
            p = l.eventTime;
          if ((r & d) === d) {
            null !== c &&
              (c = c.next =
                {
                  eventTime: p,
                  lane: 0,
                  tag: l.tag,
                  payload: l.payload,
                  callback: l.callback,
                  next: null,
                });
            e: {
              var h = e,
                v = l;
              switch (((d = t), (p = n), v.tag)) {
                case 1:
                  if ("function" === typeof (h = v.payload)) {
                    f = h.call(p, f, d);
                    break e;
                  }
                  f = h;
                  break e;
                case 3:
                  h.flags = (-65537 & h.flags) | 128;
                case 0:
                  if (
                    null ===
                      (d =
                        "function" === typeof (h = v.payload)
                          ? h.call(p, f, d)
                          : h) ||
                    void 0 === d
                  )
                    break e;
                  f = D({}, f, d);
                  break e;
                case 2:
                  Sa = !0;
              }
            }
            null !== l.callback &&
              0 !== l.lane &&
              ((e.flags |= 64),
              null === (d = i.effects) ? (i.effects = [l]) : d.push(l));
          } else
            (p = {
              eventTime: p,
              lane: d,
              tag: l.tag,
              payload: l.payload,
              callback: l.callback,
              next: null,
            }),
              null === c ? ((s = c = p), (u = f)) : (c = c.next = p),
              (o |= d);
          if (null === (l = l.next)) {
            if (null === (l = i.shared.pending)) break;
            (l = (d = l).next),
              (d.next = null),
              (i.lastBaseUpdate = d),
              (i.shared.pending = null);
          }
        }
        if (
          (null === c && (u = f),
          (i.baseState = u),
          (i.firstBaseUpdate = s),
          (i.lastBaseUpdate = c),
          null !== (t = i.shared.interleaved))
        ) {
          i = t;
          do {
            (o |= i.lane), (i = i.next);
          } while (i !== t);
        } else null === a && (i.shared.lanes = 0);
        (Eu |= o), (e.lanes = o), (e.memoizedState = f);
      }
    }
    function za(e, t, n) {
      if (((e = t.effects), (t.effects = null), null !== e))
        for (t = 0; t < e.length; t++) {
          var r = e[t],
            i = r.callback;
          if (null !== i) {
            if (((r.callback = null), (r = n), "function" !== typeof i))
              throw Error(a(191, i));
            i.call(r);
          }
        }
    }
    var Pa = new r.Component().refs;
    function Ta(e, t, n, r) {
      (n =
        null === (n = n(r, (t = e.memoizedState))) || void 0 === n
          ? t
          : D({}, t, n)),
        (e.memoizedState = n),
        0 === e.lanes && (e.updateQueue.baseState = n);
    }
    var ja = {
      isMounted: function (e) {
        return !!(e = e._reactInternals) && Ve(e) === e;
      },
      enqueueSetState: function (e, t, n) {
        e = e._reactInternals;
        var r = Hu(),
          i = Bu(e),
          a = Ea(r, i);
        (a.payload = t),
          void 0 !== n && null !== n && (a.callback = n),
          null !== (t = Na(e, a, i)) && (Gu(t, e, i, r), La(t, e, i));
      },
      enqueueReplaceState: function (e, t, n) {
        e = e._reactInternals;
        var r = Hu(),
          i = Bu(e),
          a = Ea(r, i);
        (a.tag = 1),
          (a.payload = t),
          void 0 !== n && null !== n && (a.callback = n),
          null !== (t = Na(e, a, i)) && (Gu(t, e, i, r), La(t, e, i));
      },
      enqueueForceUpdate: function (e, t) {
        e = e._reactInternals;
        var n = Hu(),
          r = Bu(e),
          i = Ea(n, r);
        (i.tag = 2),
          void 0 !== t && null !== t && (i.callback = t),
          null !== (t = Na(e, i, r)) && (Gu(t, e, r, n), La(t, e, r));
      },
    };
    function Ra(e, t, n, r, i, a, o) {
      return "function" === typeof (e = e.stateNode).shouldComponentUpdate
        ? e.shouldComponentUpdate(r, a, o)
        : !t.prototype ||
            !t.prototype.isPureReactComponent ||
            !nr(n, r) ||
            !nr(i, a);
    }
    function Aa(e, t, n) {
      var r = !1,
        i = wi,
        a = t.contextType;
      return (
        "object" === typeof a && null !== a
          ? (a = ya(a))
          : ((i = Ci(t) ? Si : ki.current),
            (a = (r = null !== (r = t.contextTypes) && void 0 !== r)
              ? _i(e, i)
              : wi)),
        (t = new t(n, a)),
        (e.memoizedState =
          null !== t.state && void 0 !== t.state ? t.state : null),
        (t.updater = ja),
        (e.stateNode = t),
        (t._reactInternals = e),
        r &&
          (((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = i),
          (e.__reactInternalMemoizedMaskedChildContext = a)),
        t
      );
    }
    function Da(e, t, n, r) {
      (e = t.state),
        "function" === typeof t.componentWillReceiveProps &&
          t.componentWillReceiveProps(n, r),
        "function" === typeof t.UNSAFE_componentWillReceiveProps &&
          t.UNSAFE_componentWillReceiveProps(n, r),
        t.state !== e && ja.enqueueReplaceState(t, t.state, null);
    }
    function Fa(e, t, n, r) {
      var i = e.stateNode;
      (i.props = n), (i.state = e.memoizedState), (i.refs = Pa), _a(e);
      var a = t.contextType;
      "object" === typeof a && null !== a
        ? (i.context = ya(a))
        : ((a = Ci(t) ? Si : ki.current), (i.context = _i(e, a))),
        (i.state = e.memoizedState),
        "function" === typeof (a = t.getDerivedStateFromProps) &&
          (Ta(e, t, a, n), (i.state = e.memoizedState)),
        "function" === typeof t.getDerivedStateFromProps ||
          "function" === typeof i.getSnapshotBeforeUpdate ||
          ("function" !== typeof i.UNSAFE_componentWillMount &&
            "function" !== typeof i.componentWillMount) ||
          ((t = i.state),
          "function" === typeof i.componentWillMount && i.componentWillMount(),
          "function" === typeof i.UNSAFE_componentWillMount &&
            i.UNSAFE_componentWillMount(),
          t !== i.state && ja.enqueueReplaceState(i, i.state, null),
          Ia(e, n, i, r),
          (i.state = e.memoizedState)),
        "function" === typeof i.componentDidMount && (e.flags |= 4194308);
    }
    function Ma(e, t, n) {
      if (
        null !== (e = n.ref) &&
        "function" !== typeof e &&
        "object" !== typeof e
      ) {
        if (n._owner) {
          if ((n = n._owner)) {
            if (1 !== n.tag) throw Error(a(309));
            var r = n.stateNode;
          }
          if (!r) throw Error(a(147, e));
          var i = r,
            o = "" + e;
          return null !== t &&
            null !== t.ref &&
            "function" === typeof t.ref &&
            t.ref._stringRef === o
            ? t.ref
            : (((t = function (e) {
                var t = i.refs;
                t === Pa && (t = i.refs = {}),
                  null === e ? delete t[o] : (t[o] = e);
              })._stringRef = o),
              t);
        }
        if ("string" !== typeof e) throw Error(a(284));
        if (!n._owner) throw Error(a(290, e));
      }
      return e;
    }
    function Va(e, t) {
      throw (
        ((e = Object.prototype.toString.call(t)),
        Error(
          a(
            31,
            "[object Object]" === e
              ? "object with keys {" + Object.keys(t).join(", ") + "}"
              : e
          )
        ))
      );
    }
    function Wa(e) {
      return (0, e._init)(e._payload);
    }
    function $a(e) {
      function t(t, n) {
        if (e) {
          var r = t.deletions;
          null === r ? ((t.deletions = [n]), (t.flags |= 16)) : r.push(n);
        }
      }
      function n(n, r) {
        if (!e) return null;
        for (; null !== r; ) t(n, r), (r = r.sibling);
        return null;
      }
      function r(e, t) {
        for (e = new Map(); null !== t; )
          null !== t.key ? e.set(t.key, t) : e.set(t.index, t), (t = t.sibling);
        return e;
      }
      function i(e, t) {
        return ((e = Ss(e, t)).index = 0), (e.sibling = null), e;
      }
      function o(t, n, r) {
        return (
          (t.index = r),
          e
            ? null !== (r = t.alternate)
              ? (r = r.index) < n
                ? ((t.flags |= 2), n)
                : r
              : ((t.flags |= 2), n)
            : ((t.flags |= 1048576), n)
        );
      }
      function l(t) {
        return e && null === t.alternate && (t.flags |= 2), t;
      }
      function u(e, t, n, r) {
        return null === t || 6 !== t.tag
          ? (((t = Ns(n, e.mode, r)).return = e), t)
          : (((t = i(t, n)).return = e), t);
      }
      function s(e, t, n, r) {
        var a = n.type;
        return a === S
          ? f(e, t, n.props.children, r, n.key)
          : null !== t &&
            (t.elementType === a ||
              ("object" === typeof a &&
                null !== a &&
                a.$$typeof === P &&
                Wa(a) === t.type))
          ? (((r = i(t, n.props)).ref = Ma(e, t, n)), (r.return = e), r)
          : (((r = _s(n.type, n.key, n.props, null, e.mode, r)).ref = Ma(
              e,
              t,
              n
            )),
            (r.return = e),
            r);
      }
      function c(e, t, n, r) {
        return null === t ||
          4 !== t.tag ||
          t.stateNode.containerInfo !== n.containerInfo ||
          t.stateNode.implementation !== n.implementation
          ? (((t = Ls(n, e.mode, r)).return = e), t)
          : (((t = i(t, n.children || [])).return = e), t);
      }
      function f(e, t, n, r, a) {
        return null === t || 7 !== t.tag
          ? (((t = Cs(n, e.mode, r, a)).return = e), t)
          : (((t = i(t, n)).return = e), t);
      }
      function d(e, t, n) {
        if (("string" === typeof t && "" !== t) || "number" === typeof t)
          return ((t = Ns("" + t, e.mode, n)).return = e), t;
        if ("object" === typeof t && null !== t) {
          switch (t.$$typeof) {
            case k:
              return (
                ((n = _s(t.type, t.key, t.props, null, e.mode, n)).ref = Ma(
                  e,
                  null,
                  t
                )),
                (n.return = e),
                n
              );
            case x:
              return ((t = Ls(t, e.mode, n)).return = e), t;
            case P:
              return d(e, (0, t._init)(t._payload), n);
          }
          if (ee(t) || R(t))
            return ((t = Cs(t, e.mode, n, null)).return = e), t;
          Va(e, t);
        }
        return null;
      }
      function p(e, t, n, r) {
        var i = null !== t ? t.key : null;
        if (("string" === typeof n && "" !== n) || "number" === typeof n)
          return null !== i ? null : u(e, t, "" + n, r);
        if ("object" === typeof n && null !== n) {
          switch (n.$$typeof) {
            case k:
              return n.key === i ? s(e, t, n, r) : null;
            case x:
              return n.key === i ? c(e, t, n, r) : null;
            case P:
              return p(e, t, (i = n._init)(n._payload), r);
          }
          if (ee(n) || R(n)) return null !== i ? null : f(e, t, n, r, null);
          Va(e, n);
        }
        return null;
      }
      function h(e, t, n, r, i) {
        if (("string" === typeof r && "" !== r) || "number" === typeof r)
          return u(t, (e = e.get(n) || null), "" + r, i);
        if ("object" === typeof r && null !== r) {
          switch (r.$$typeof) {
            case k:
              return s(
                t,
                (e = e.get(null === r.key ? n : r.key) || null),
                r,
                i
              );
            case x:
              return c(
                t,
                (e = e.get(null === r.key ? n : r.key) || null),
                r,
                i
              );
            case P:
              return h(e, t, n, (0, r._init)(r._payload), i);
          }
          if (ee(r) || R(r)) return f(t, (e = e.get(n) || null), r, i, null);
          Va(t, r);
        }
        return null;
      }
      function v(i, a, l, u) {
        for (
          var s = null, c = null, f = a, v = (a = 0), g = null;
          null !== f && v < l.length;
          v++
        ) {
          f.index > v ? ((g = f), (f = null)) : (g = f.sibling);
          var m = p(i, f, l[v], u);
          if (null === m) {
            null === f && (f = g);
            break;
          }
          e && f && null === m.alternate && t(i, f),
            (a = o(m, a, v)),
            null === c ? (s = m) : (c.sibling = m),
            (c = m),
            (f = g);
        }
        if (v === l.length) return n(i, f), Yi && Bi(i, v), s;
        if (null === f) {
          for (; v < l.length; v++)
            null !== (f = d(i, l[v], u)) &&
              ((a = o(f, a, v)),
              null === c ? (s = f) : (c.sibling = f),
              (c = f));
          return Yi && Bi(i, v), s;
        }
        for (f = r(i, f); v < l.length; v++)
          null !== (g = h(f, i, v, l[v], u)) &&
            (e && null !== g.alternate && f.delete(null === g.key ? v : g.key),
            (a = o(g, a, v)),
            null === c ? (s = g) : (c.sibling = g),
            (c = g));
        return (
          e &&
            f.forEach(function (e) {
              return t(i, e);
            }),
          Yi && Bi(i, v),
          s
        );
      }
      function g(i, l, u, s) {
        var c = R(u);
        if ("function" !== typeof c) throw Error(a(150));
        if (null == (u = c.call(u))) throw Error(a(151));
        for (
          var f = (c = null), v = l, g = (l = 0), m = null, y = u.next();
          null !== v && !y.done;
          g++, y = u.next()
        ) {
          v.index > g ? ((m = v), (v = null)) : (m = v.sibling);
          var b = p(i, v, y.value, s);
          if (null === b) {
            null === v && (v = m);
            break;
          }
          e && v && null === b.alternate && t(i, v),
            (l = o(b, l, g)),
            null === f ? (c = b) : (f.sibling = b),
            (f = b),
            (v = m);
        }
        if (y.done) return n(i, v), Yi && Bi(i, g), c;
        if (null === v) {
          for (; !y.done; g++, y = u.next())
            null !== (y = d(i, y.value, s)) &&
              ((l = o(y, l, g)),
              null === f ? (c = y) : (f.sibling = y),
              (f = y));
          return Yi && Bi(i, g), c;
        }
        for (v = r(i, v); !y.done; g++, y = u.next())
          null !== (y = h(v, i, g, y.value, s)) &&
            (e && null !== y.alternate && v.delete(null === y.key ? g : y.key),
            (l = o(y, l, g)),
            null === f ? (c = y) : (f.sibling = y),
            (f = y));
        return (
          e &&
            v.forEach(function (e) {
              return t(i, e);
            }),
          Yi && Bi(i, g),
          c
        );
      }
      return function e(r, a, o, u) {
        if (
          ("object" === typeof o &&
            null !== o &&
            o.type === S &&
            null === o.key &&
            (o = o.props.children),
          "object" === typeof o && null !== o)
        ) {
          switch (o.$$typeof) {
            case k:
              e: {
                for (var s = o.key, c = a; null !== c; ) {
                  if (c.key === s) {
                    if ((s = o.type) === S) {
                      if (7 === c.tag) {
                        n(r, c.sibling),
                          ((a = i(c, o.props.children)).return = r),
                          (r = a);
                        break e;
                      }
                    } else if (
                      c.elementType === s ||
                      ("object" === typeof s &&
                        null !== s &&
                        s.$$typeof === P &&
                        Wa(s) === c.type)
                    ) {
                      n(r, c.sibling),
                        ((a = i(c, o.props)).ref = Ma(r, c, o)),
                        (a.return = r),
                        (r = a);
                      break e;
                    }
                    n(r, c);
                    break;
                  }
                  t(r, c), (c = c.sibling);
                }
                o.type === S
                  ? (((a = Cs(o.props.children, r.mode, u, o.key)).return = r),
                    (r = a))
                  : (((u = _s(o.type, o.key, o.props, null, r.mode, u)).ref =
                      Ma(r, a, o)),
                    (u.return = r),
                    (r = u));
              }
              return l(r);
            case x:
              e: {
                for (c = o.key; null !== a; ) {
                  if (a.key === c) {
                    if (
                      4 === a.tag &&
                      a.stateNode.containerInfo === o.containerInfo &&
                      a.stateNode.implementation === o.implementation
                    ) {
                      n(r, a.sibling),
                        ((a = i(a, o.children || [])).return = r),
                        (r = a);
                      break e;
                    }
                    n(r, a);
                    break;
                  }
                  t(r, a), (a = a.sibling);
                }
                ((a = Ls(o, r.mode, u)).return = r), (r = a);
              }
              return l(r);
            case P:
              return e(r, a, (c = o._init)(o._payload), u);
          }
          if (ee(o)) return v(r, a, o, u);
          if (R(o)) return g(r, a, o, u);
          Va(r, o);
        }
        return ("string" === typeof o && "" !== o) || "number" === typeof o
          ? ((o = "" + o),
            null !== a && 6 === a.tag
              ? (n(r, a.sibling), ((a = i(a, o)).return = r), (r = a))
              : (n(r, a), ((a = Ns(o, r.mode, u)).return = r), (r = a)),
            l(r))
          : n(r, a);
      };
    }
    var Ua = $a(!0),
      Ha = $a(!1),
      Ba = {},
      Ga = mi(Ba),
      Qa = mi(Ba),
      qa = mi(Ba);
    function Ka(e) {
      if (e === Ba) throw Error(a(174));
      return e;
    }
    function Xa(e, t) {
      switch ((bi(qa, t), bi(Qa, e), bi(Ga, Ba), (e = t.nodeType))) {
        case 9:
        case 11:
          t = (t = t.documentElement) ? t.namespaceURI : le(null, "");
          break;
        default:
          t = le(
            (t = (e = 8 === e ? t.parentNode : t).namespaceURI || null),
            (e = e.tagName)
          );
      }
      yi(Ga), bi(Ga, t);
    }
    function Ya() {
      yi(Ga), yi(Qa), yi(qa);
    }
    function Ja(e) {
      Ka(qa.current);
      var t = Ka(Ga.current),
        n = le(t, e.type);
      t !== n && (bi(Qa, e), bi(Ga, n));
    }
    function Za(e) {
      Qa.current === e && (yi(Ga), yi(Qa));
    }
    var eo = mi(0);
    function to(e) {
      for (var t = e; null !== t; ) {
        if (13 === t.tag) {
          var n = t.memoizedState;
          if (
            null !== n &&
            (null === (n = n.dehydrated) || "$?" === n.data || "$!" === n.data)
          )
            return t;
        } else if (19 === t.tag && void 0 !== t.memoizedProps.revealOrder) {
          if (0 !== (128 & t.flags)) return t;
        } else if (null !== t.child) {
          (t.child.return = t), (t = t.child);
          continue;
        }
        if (t === e) break;
        for (; null === t.sibling; ) {
          if (null === t.return || t.return === e) return null;
          t = t.return;
        }
        (t.sibling.return = t.return), (t = t.sibling);
      }
      return null;
    }
    var no = [];
    function ro() {
      for (var e = 0; e < no.length; e++)
        no[e]._workInProgressVersionPrimary = null;
      no.length = 0;
    }
    var io = w.ReactCurrentDispatcher,
      ao = w.ReactCurrentBatchConfig,
      oo = 0,
      lo = null,
      uo = null,
      so = null,
      co = !1,
      fo = !1,
      po = 0,
      ho = 0;
    function vo() {
      throw Error(a(321));
    }
    function go(e, t) {
      if (null === t) return !1;
      for (var n = 0; n < t.length && n < e.length; n++)
        if (!tr(e[n], t[n])) return !1;
      return !0;
    }
    function mo(e, t, n, r, i, o) {
      if (
        ((oo = o),
        (lo = t),
        (t.memoizedState = null),
        (t.updateQueue = null),
        (t.lanes = 0),
        (io.current = null === e || null === e.memoizedState ? el : tl),
        (e = n(r, i)),
        fo)
      ) {
        o = 0;
        do {
          if (((fo = !1), (po = 0), 25 <= o)) throw Error(a(301));
          (o += 1),
            (so = uo = null),
            (t.updateQueue = null),
            (io.current = nl),
            (e = n(r, i));
        } while (fo);
      }
      if (
        ((io.current = Zo),
        (t = null !== uo && null !== uo.next),
        (oo = 0),
        (so = uo = lo = null),
        (co = !1),
        t)
      )
        throw Error(a(300));
      return e;
    }
    function yo() {
      var e = 0 !== po;
      return (po = 0), e;
    }
    function bo() {
      var e = {
        memoizedState: null,
        baseState: null,
        baseQueue: null,
        queue: null,
        next: null,
      };
      return null === so ? (lo.memoizedState = so = e) : (so = so.next = e), so;
    }
    function wo() {
      if (null === uo) {
        var e = lo.alternate;
        e = null !== e ? e.memoizedState : null;
      } else e = uo.next;
      var t = null === so ? lo.memoizedState : so.next;
      if (null !== t) (so = t), (uo = e);
      else {
        if (null === e) throw Error(a(310));
        (e = {
          memoizedState: (uo = e).memoizedState,
          baseState: uo.baseState,
          baseQueue: uo.baseQueue,
          queue: uo.queue,
          next: null,
        }),
          null === so ? (lo.memoizedState = so = e) : (so = so.next = e);
      }
      return so;
    }
    function ko(e, t) {
      return "function" === typeof t ? t(e) : t;
    }
    function xo(e) {
      var t = wo(),
        n = t.queue;
      if (null === n) throw Error(a(311));
      n.lastRenderedReducer = e;
      var r = uo,
        i = r.baseQueue,
        o = n.pending;
      if (null !== o) {
        if (null !== i) {
          var l = i.next;
          (i.next = o.next), (o.next = l);
        }
        (r.baseQueue = i = o), (n.pending = null);
      }
      if (null !== i) {
        (o = i.next), (r = r.baseState);
        var u = (l = null),
          s = null,
          c = o;
        do {
          var f = c.lane;
          if ((oo & f) === f)
            null !== s &&
              (s = s.next =
                {
                  lane: 0,
                  action: c.action,
                  hasEagerState: c.hasEagerState,
                  eagerState: c.eagerState,
                  next: null,
                }),
              (r = c.hasEagerState ? c.eagerState : e(r, c.action));
          else {
            var d = {
              lane: f,
              action: c.action,
              hasEagerState: c.hasEagerState,
              eagerState: c.eagerState,
              next: null,
            };
            null === s ? ((u = s = d), (l = r)) : (s = s.next = d),
              (lo.lanes |= f),
              (Eu |= f);
          }
          c = c.next;
        } while (null !== c && c !== o);
        null === s ? (l = r) : (s.next = u),
          tr(r, t.memoizedState) || (pl = !0),
          (t.memoizedState = r),
          (t.baseState = l),
          (t.baseQueue = s),
          (n.lastRenderedState = r);
      }
      if (null !== (e = n.interleaved)) {
        i = e;
        do {
          (o = i.lane), (lo.lanes |= o), (Eu |= o), (i = i.next);
        } while (i !== e);
      } else null === i && (n.lanes = 0);
      return [t.memoizedState, n.dispatch];
    }
    function So(e) {
      var t = wo(),
        n = t.queue;
      if (null === n) throw Error(a(311));
      n.lastRenderedReducer = e;
      var r = n.dispatch,
        i = n.pending,
        o = t.memoizedState;
      if (null !== i) {
        n.pending = null;
        var l = (i = i.next);
        do {
          (o = e(o, l.action)), (l = l.next);
        } while (l !== i);
        tr(o, t.memoizedState) || (pl = !0),
          (t.memoizedState = o),
          null === t.baseQueue && (t.baseState = o),
          (n.lastRenderedState = o);
      }
      return [o, r];
    }
    function _o() {}
    function Co(e, t) {
      var n = lo,
        r = wo(),
        i = t(),
        o = !tr(r.memoizedState, i);
      if (
        (o && ((r.memoizedState = i), (pl = !0)),
        (r = r.queue),
        Do(Lo.bind(null, n, r, e), [e]),
        r.getSnapshot !== t || o || (null !== so && 1 & so.memoizedState.tag))
      ) {
        if (
          ((n.flags |= 2048),
          Po(9, No.bind(null, n, r, i, t), void 0, null),
          null === bu)
        )
          throw Error(a(349));
        0 !== (30 & oo) || Eo(n, t, i);
      }
      return i;
    }
    function Eo(e, t, n) {
      (e.flags |= 16384),
        (e = { getSnapshot: t, value: n }),
        null === (t = lo.updateQueue)
          ? ((t = { lastEffect: null, stores: null }),
            (lo.updateQueue = t),
            (t.stores = [e]))
          : null === (n = t.stores)
          ? (t.stores = [e])
          : n.push(e);
    }
    function No(e, t, n, r) {
      (t.value = n), (t.getSnapshot = r), Oo(t) && Io(e);
    }
    function Lo(e, t, n) {
      return n(function () {
        Oo(t) && Io(e);
      });
    }
    function Oo(e) {
      var t = e.getSnapshot;
      e = e.value;
      try {
        var n = t();
        return !tr(e, n);
      } catch (r) {
        return !0;
      }
    }
    function Io(e) {
      var t = xa(e, 1);
      null !== t && Gu(t, e, 1, -1);
    }
    function zo(e) {
      var t = bo();
      return (
        "function" === typeof e && (e = e()),
        (t.memoizedState = t.baseState = e),
        (e = {
          pending: null,
          interleaved: null,
          lanes: 0,
          dispatch: null,
          lastRenderedReducer: ko,
          lastRenderedState: e,
        }),
        (t.queue = e),
        (e = e.dispatch = Ko.bind(null, lo, e)),
        [t.memoizedState, e]
      );
    }
    function Po(e, t, n, r) {
      return (
        (e = { tag: e, create: t, destroy: n, deps: r, next: null }),
        null === (t = lo.updateQueue)
          ? ((t = { lastEffect: null, stores: null }),
            (lo.updateQueue = t),
            (t.lastEffect = e.next = e))
          : null === (n = t.lastEffect)
          ? (t.lastEffect = e.next = e)
          : ((r = n.next), (n.next = e), (e.next = r), (t.lastEffect = e)),
        e
      );
    }
    function To() {
      return wo().memoizedState;
    }
    function jo(e, t, n, r) {
      var i = bo();
      (lo.flags |= e),
        (i.memoizedState = Po(1 | t, n, void 0, void 0 === r ? null : r));
    }
    function Ro(e, t, n, r) {
      var i = wo();
      r = void 0 === r ? null : r;
      var a = void 0;
      if (null !== uo) {
        var o = uo.memoizedState;
        if (((a = o.destroy), null !== r && go(r, o.deps)))
          return void (i.memoizedState = Po(t, n, a, r));
      }
      (lo.flags |= e), (i.memoizedState = Po(1 | t, n, a, r));
    }
    function Ao(e, t) {
      return jo(8390656, 8, e, t);
    }
    function Do(e, t) {
      return Ro(2048, 8, e, t);
    }
    function Fo(e, t) {
      return Ro(4, 2, e, t);
    }
    function Mo(e, t) {
      return Ro(4, 4, e, t);
    }
    function Vo(e, t) {
      return "function" === typeof t
        ? ((e = e()),
          t(e),
          function () {
            t(null);
          })
        : null !== t && void 0 !== t
        ? ((e = e()),
          (t.current = e),
          function () {
            t.current = null;
          })
        : void 0;
    }
    function Wo(e, t, n) {
      return (
        (n = null !== n && void 0 !== n ? n.concat([e]) : null),
        Ro(4, 4, Vo.bind(null, t, e), n)
      );
    }
    function $o() {}
    function Uo(e, t) {
      var n = wo();
      t = void 0 === t ? null : t;
      var r = n.memoizedState;
      return null !== r && null !== t && go(t, r[1])
        ? r[0]
        : ((n.memoizedState = [e, t]), e);
    }
    function Ho(e, t) {
      var n = wo();
      t = void 0 === t ? null : t;
      var r = n.memoizedState;
      return null !== r && null !== t && go(t, r[1])
        ? r[0]
        : ((e = e()), (n.memoizedState = [e, t]), e);
    }
    function Bo(e, t, n) {
      return 0 === (21 & oo)
        ? (e.baseState && ((e.baseState = !1), (pl = !0)),
          (e.memoizedState = n))
        : (tr(n, t) ||
            ((n = dt()), (lo.lanes |= n), (Eu |= n), (e.baseState = !0)),
          t);
    }
    function Go(e, t) {
      var n = gt;
      (gt = 0 !== n && 4 > n ? n : 4), e(!0);
      var r = ao.transition;
      ao.transition = {};
      try {
        e(!1), t();
      } finally {
        (gt = n), (ao.transition = r);
      }
    }
    function Qo() {
      return wo().memoizedState;
    }
    function qo(e, t, n) {
      var r = Bu(e);
      if (
        ((n = {
          lane: r,
          action: n,
          hasEagerState: !1,
          eagerState: null,
          next: null,
        }),
        Xo(e))
      )
        Yo(t, n);
      else if (null !== (n = ka(e, t, n, r))) {
        Gu(n, e, r, Hu()), Jo(n, t, r);
      }
    }
    function Ko(e, t, n) {
      var r = Bu(e),
        i = {
          lane: r,
          action: n,
          hasEagerState: !1,
          eagerState: null,
          next: null,
        };
      if (Xo(e)) Yo(t, i);
      else {
        var a = e.alternate;
        if (
          0 === e.lanes &&
          (null === a || 0 === a.lanes) &&
          null !== (a = t.lastRenderedReducer)
        )
          try {
            var o = t.lastRenderedState,
              l = a(o, n);
            if (((i.hasEagerState = !0), (i.eagerState = l), tr(l, o))) {
              var u = t.interleaved;
              return (
                null === u
                  ? ((i.next = i), wa(t))
                  : ((i.next = u.next), (u.next = i)),
                void (t.interleaved = i)
              );
            }
          } catch (s) {}
        null !== (n = ka(e, t, i, r)) && (Gu(n, e, r, (i = Hu())), Jo(n, t, r));
      }
    }
    function Xo(e) {
      var t = e.alternate;
      return e === lo || (null !== t && t === lo);
    }
    function Yo(e, t) {
      fo = co = !0;
      var n = e.pending;
      null === n ? (t.next = t) : ((t.next = n.next), (n.next = t)),
        (e.pending = t);
    }
    function Jo(e, t, n) {
      if (0 !== (4194240 & n)) {
        var r = t.lanes;
        (n |= r &= e.pendingLanes), (t.lanes = n), vt(e, n);
      }
    }
    var Zo = {
        readContext: ya,
        useCallback: vo,
        useContext: vo,
        useEffect: vo,
        useImperativeHandle: vo,
        useInsertionEffect: vo,
        useLayoutEffect: vo,
        useMemo: vo,
        useReducer: vo,
        useRef: vo,
        useState: vo,
        useDebugValue: vo,
        useDeferredValue: vo,
        useTransition: vo,
        useMutableSource: vo,
        useSyncExternalStore: vo,
        useId: vo,
        unstable_isNewReconciler: !1,
      },
      el = {
        readContext: ya,
        useCallback: function (e, t) {
          return (bo().memoizedState = [e, void 0 === t ? null : t]), e;
        },
        useContext: ya,
        useEffect: Ao,
        useImperativeHandle: function (e, t, n) {
          return (
            (n = null !== n && void 0 !== n ? n.concat([e]) : null),
            jo(4194308, 4, Vo.bind(null, t, e), n)
          );
        },
        useLayoutEffect: function (e, t) {
          return jo(4194308, 4, e, t);
        },
        useInsertionEffect: function (e, t) {
          return jo(4, 2, e, t);
        },
        useMemo: function (e, t) {
          var n = bo();
          return (
            (t = void 0 === t ? null : t),
            (e = e()),
            (n.memoizedState = [e, t]),
            e
          );
        },
        useReducer: function (e, t, n) {
          var r = bo();
          return (
            (t = void 0 !== n ? n(t) : t),
            (r.memoizedState = r.baseState = t),
            (e = {
              pending: null,
              interleaved: null,
              lanes: 0,
              dispatch: null,
              lastRenderedReducer: e,
              lastRenderedState: t,
            }),
            (r.queue = e),
            (e = e.dispatch = qo.bind(null, lo, e)),
            [r.memoizedState, e]
          );
        },
        useRef: function (e) {
          return (e = { current: e }), (bo().memoizedState = e);
        },
        useState: zo,
        useDebugValue: $o,
        useDeferredValue: function (e) {
          return (bo().memoizedState = e);
        },
        useTransition: function () {
          var e = zo(!1),
            t = e[0];
          return (e = Go.bind(null, e[1])), (bo().memoizedState = e), [t, e];
        },
        useMutableSource: function () {},
        useSyncExternalStore: function (e, t, n) {
          var r = lo,
            i = bo();
          if (Yi) {
            if (void 0 === n) throw Error(a(407));
            n = n();
          } else {
            if (((n = t()), null === bu)) throw Error(a(349));
            0 !== (30 & oo) || Eo(r, t, n);
          }
          i.memoizedState = n;
          var o = { value: n, getSnapshot: t };
          return (
            (i.queue = o),
            Ao(Lo.bind(null, r, o, e), [e]),
            (r.flags |= 2048),
            Po(9, No.bind(null, r, o, n, t), void 0, null),
            n
          );
        },
        useId: function () {
          var e = bo(),
            t = bu.identifierPrefix;
          if (Yi) {
            var n = Hi;
            (t =
              ":" +
              t +
              "R" +
              (n = (Ui & ~(1 << (32 - rt(Ui) - 1))).toString(32) + n)),
              0 < (n = po++) && (t += "H" + n.toString(32)),
              (t += ":");
          } else t = ":" + t + "r" + (n = ho++).toString(32) + ":";
          return (e.memoizedState = t);
        },
        unstable_isNewReconciler: !1,
      },
      tl = {
        readContext: ya,
        useCallback: Uo,
        useContext: ya,
        useEffect: Do,
        useImperativeHandle: Wo,
        useInsertionEffect: Fo,
        useLayoutEffect: Mo,
        useMemo: Ho,
        useReducer: xo,
        useRef: To,
        useState: function () {
          return xo(ko);
        },
        useDebugValue: $o,
        useDeferredValue: function (e) {
          return Bo(wo(), uo.memoizedState, e);
        },
        useTransition: function () {
          return [xo(ko)[0], wo().memoizedState];
        },
        useMutableSource: _o,
        useSyncExternalStore: Co,
        useId: Qo,
        unstable_isNewReconciler: !1,
      },
      nl = {
        readContext: ya,
        useCallback: Uo,
        useContext: ya,
        useEffect: Do,
        useImperativeHandle: Wo,
        useInsertionEffect: Fo,
        useLayoutEffect: Mo,
        useMemo: Ho,
        useReducer: So,
        useRef: To,
        useState: function () {
          return So(ko);
        },
        useDebugValue: $o,
        useDeferredValue: function (e) {
          var t = wo();
          return null === uo
            ? (t.memoizedState = e)
            : Bo(t, uo.memoizedState, e);
        },
        useTransition: function () {
          return [So(ko)[0], wo().memoizedState];
        },
        useMutableSource: _o,
        useSyncExternalStore: Co,
        useId: Qo,
        unstable_isNewReconciler: !1,
      };
    function rl(e, t) {
      try {
        var n = "",
          r = t;
        do {
          (n += W(r)), (r = r.return);
        } while (r);
        var i = n;
      } catch (a) {
        i = "\nError generating stack: " + a.message + "\n" + a.stack;
      }
      return { value: e, source: t, stack: i, digest: null };
    }
    function il(e, t, n) {
      return {
        value: e,
        source: null,
        stack: null != n ? n : null,
        digest: null != t ? t : null,
      };
    }
    function al(e, t) {
      try {
        console.error(t.value);
      } catch (n) {
        setTimeout(function () {
          throw n;
        });
      }
    }
    var ol = "function" === typeof WeakMap ? WeakMap : Map;
    function ll(e, t, n) {
      ((n = Ea(-1, n)).tag = 3), (n.payload = { element: null });
      var r = t.value;
      return (
        (n.callback = function () {
          ju || ((ju = !0), (Ru = r)), al(0, t);
        }),
        n
      );
    }
    function ul(e, t, n) {
      (n = Ea(-1, n)).tag = 3;
      var r = e.type.getDerivedStateFromError;
      if ("function" === typeof r) {
        var i = t.value;
        (n.payload = function () {
          return r(i);
        }),
          (n.callback = function () {
            al(0, t);
          });
      }
      var a = e.stateNode;
      return (
        null !== a &&
          "function" === typeof a.componentDidCatch &&
          (n.callback = function () {
            al(0, t),
              "function" !== typeof r &&
                (null === Au ? (Au = new Set([this])) : Au.add(this));
            var e = t.stack;
            this.componentDidCatch(t.value, {
              componentStack: null !== e ? e : "",
            });
          }),
        n
      );
    }
    function sl(e, t, n) {
      var r = e.pingCache;
      if (null === r) {
        r = e.pingCache = new ol();
        var i = new Set();
        r.set(t, i);
      } else void 0 === (i = r.get(t)) && ((i = new Set()), r.set(t, i));
      i.has(n) || (i.add(n), (e = vs.bind(null, e, t, n)), t.then(e, e));
    }
    function cl(e) {
      do {
        var t;
        if (
          ((t = 13 === e.tag) &&
            (t = null === (t = e.memoizedState) || null !== t.dehydrated),
          t)
        )
          return e;
        e = e.return;
      } while (null !== e);
      return null;
    }
    function fl(e, t, n, r, i) {
      return 0 === (1 & e.mode)
        ? (e === t
            ? (e.flags |= 65536)
            : ((e.flags |= 128),
              (n.flags |= 131072),
              (n.flags &= -52805),
              1 === n.tag &&
                (null === n.alternate
                  ? (n.tag = 17)
                  : (((t = Ea(-1, 1)).tag = 2), Na(n, t, 1))),
              (n.lanes |= 1)),
          e)
        : ((e.flags |= 65536), (e.lanes = i), e);
    }
    var dl = w.ReactCurrentOwner,
      pl = !1;
    function hl(e, t, n, r) {
      t.child = null === e ? Ha(t, null, n, r) : Ua(t, e.child, n, r);
    }
    function vl(e, t, n, r, i) {
      n = n.render;
      var a = t.ref;
      return (
        ma(t, i),
        (r = mo(e, t, n, r, a, i)),
        (n = yo()),
        null === e || pl
          ? (Yi && n && Qi(t), (t.flags |= 1), hl(e, t, r, i), t.child)
          : ((t.updateQueue = e.updateQueue),
            (t.flags &= -2053),
            (e.lanes &= ~i),
            Dl(e, t, i))
      );
    }
    function gl(e, t, n, r, i) {
      if (null === e) {
        var a = n.type;
        return "function" !== typeof a ||
          xs(a) ||
          void 0 !== a.defaultProps ||
          null !== n.compare ||
          void 0 !== n.defaultProps
          ? (((e = _s(n.type, null, r, t, t.mode, i)).ref = t.ref),
            (e.return = t),
            (t.child = e))
          : ((t.tag = 15), (t.type = a), ml(e, t, a, r, i));
      }
      if (((a = e.child), 0 === (e.lanes & i))) {
        var o = a.memoizedProps;
        if ((n = null !== (n = n.compare) ? n : nr)(o, r) && e.ref === t.ref)
          return Dl(e, t, i);
      }
      return (
        (t.flags |= 1),
        ((e = Ss(a, r)).ref = t.ref),
        (e.return = t),
        (t.child = e)
      );
    }
    function ml(e, t, n, r, i) {
      if (null !== e) {
        var a = e.memoizedProps;
        if (nr(a, r) && e.ref === t.ref) {
          if (((pl = !1), (t.pendingProps = r = a), 0 === (e.lanes & i)))
            return (t.lanes = e.lanes), Dl(e, t, i);
          0 !== (131072 & e.flags) && (pl = !0);
        }
      }
      return wl(e, t, n, r, i);
    }
    function yl(e, t, n) {
      var r = t.pendingProps,
        i = r.children,
        a = null !== e ? e.memoizedState : null;
      if ("hidden" === r.mode)
        if (0 === (1 & t.mode))
          (t.memoizedState = {
            baseLanes: 0,
            cachePool: null,
            transitions: null,
          }),
            bi(Su, xu),
            (xu |= n);
        else {
          if (0 === (1073741824 & n))
            return (
              (e = null !== a ? a.baseLanes | n : n),
              (t.lanes = t.childLanes = 1073741824),
              (t.memoizedState = {
                baseLanes: e,
                cachePool: null,
                transitions: null,
              }),
              (t.updateQueue = null),
              bi(Su, xu),
              (xu |= e),
              null
            );
          (t.memoizedState = {
            baseLanes: 0,
            cachePool: null,
            transitions: null,
          }),
            (r = null !== a ? a.baseLanes : n),
            bi(Su, xu),
            (xu |= r);
        }
      else
        null !== a
          ? ((r = a.baseLanes | n), (t.memoizedState = null))
          : (r = n),
          bi(Su, xu),
          (xu |= r);
      return hl(e, t, i, n), t.child;
    }
    function bl(e, t) {
      var n = t.ref;
      ((null === e && null !== n) || (null !== e && e.ref !== n)) &&
        ((t.flags |= 512), (t.flags |= 2097152));
    }
    function wl(e, t, n, r, i) {
      var a = Ci(n) ? Si : ki.current;
      return (
        (a = _i(t, a)),
        ma(t, i),
        (n = mo(e, t, n, r, a, i)),
        (r = yo()),
        null === e || pl
          ? (Yi && r && Qi(t), (t.flags |= 1), hl(e, t, n, i), t.child)
          : ((t.updateQueue = e.updateQueue),
            (t.flags &= -2053),
            (e.lanes &= ~i),
            Dl(e, t, i))
      );
    }
    function kl(e, t, n, r, i) {
      if (Ci(n)) {
        var a = !0;
        Oi(t);
      } else a = !1;
      if ((ma(t, i), null === t.stateNode))
        Al(e, t), Aa(t, n, r), Fa(t, n, r, i), (r = !0);
      else if (null === e) {
        var o = t.stateNode,
          l = t.memoizedProps;
        o.props = l;
        var u = o.context,
          s = n.contextType;
        "object" === typeof s && null !== s
          ? (s = ya(s))
          : (s = _i(t, (s = Ci(n) ? Si : ki.current)));
        var c = n.getDerivedStateFromProps,
          f =
            "function" === typeof c ||
            "function" === typeof o.getSnapshotBeforeUpdate;
        f ||
          ("function" !== typeof o.UNSAFE_componentWillReceiveProps &&
            "function" !== typeof o.componentWillReceiveProps) ||
          ((l !== r || u !== s) && Da(t, o, r, s)),
          (Sa = !1);
        var d = t.memoizedState;
        (o.state = d),
          Ia(t, r, o, i),
          (u = t.memoizedState),
          l !== r || d !== u || xi.current || Sa
            ? ("function" === typeof c &&
                (Ta(t, n, c, r), (u = t.memoizedState)),
              (l = Sa || Ra(t, n, l, r, d, u, s))
                ? (f ||
                    ("function" !== typeof o.UNSAFE_componentWillMount &&
                      "function" !== typeof o.componentWillMount) ||
                    ("function" === typeof o.componentWillMount &&
                      o.componentWillMount(),
                    "function" === typeof o.UNSAFE_componentWillMount &&
                      o.UNSAFE_componentWillMount()),
                  "function" === typeof o.componentDidMount &&
                    (t.flags |= 4194308))
                : ("function" === typeof o.componentDidMount &&
                    (t.flags |= 4194308),
                  (t.memoizedProps = r),
                  (t.memoizedState = u)),
              (o.props = r),
              (o.state = u),
              (o.context = s),
              (r = l))
            : ("function" === typeof o.componentDidMount &&
                (t.flags |= 4194308),
              (r = !1));
      } else {
        (o = t.stateNode),
          Ca(e, t),
          (l = t.memoizedProps),
          (s = t.type === t.elementType ? l : sa(t.type, l)),
          (o.props = s),
          (f = t.pendingProps),
          (d = o.context),
          "object" === typeof (u = n.contextType) && null !== u
            ? (u = ya(u))
            : (u = _i(t, (u = Ci(n) ? Si : ki.current)));
        var p = n.getDerivedStateFromProps;
        (c =
          "function" === typeof p ||
          "function" === typeof o.getSnapshotBeforeUpdate) ||
          ("function" !== typeof o.UNSAFE_componentWillReceiveProps &&
            "function" !== typeof o.componentWillReceiveProps) ||
          ((l !== f || d !== u) && Da(t, o, r, u)),
          (Sa = !1),
          (d = t.memoizedState),
          (o.state = d),
          Ia(t, r, o, i);
        var h = t.memoizedState;
        l !== f || d !== h || xi.current || Sa
          ? ("function" === typeof p && (Ta(t, n, p, r), (h = t.memoizedState)),
            (s = Sa || Ra(t, n, s, r, d, h, u) || !1)
              ? (c ||
                  ("function" !== typeof o.UNSAFE_componentWillUpdate &&
                    "function" !== typeof o.componentWillUpdate) ||
                  ("function" === typeof o.componentWillUpdate &&
                    o.componentWillUpdate(r, h, u),
                  "function" === typeof o.UNSAFE_componentWillUpdate &&
                    o.UNSAFE_componentWillUpdate(r, h, u)),
                "function" === typeof o.componentDidUpdate && (t.flags |= 4),
                "function" === typeof o.getSnapshotBeforeUpdate &&
                  (t.flags |= 1024))
              : ("function" !== typeof o.componentDidUpdate ||
                  (l === e.memoizedProps && d === e.memoizedState) ||
                  (t.flags |= 4),
                "function" !== typeof o.getSnapshotBeforeUpdate ||
                  (l === e.memoizedProps && d === e.memoizedState) ||
                  (t.flags |= 1024),
                (t.memoizedProps = r),
                (t.memoizedState = h)),
            (o.props = r),
            (o.state = h),
            (o.context = u),
            (r = s))
          : ("function" !== typeof o.componentDidUpdate ||
              (l === e.memoizedProps && d === e.memoizedState) ||
              (t.flags |= 4),
            "function" !== typeof o.getSnapshotBeforeUpdate ||
              (l === e.memoizedProps && d === e.memoizedState) ||
              (t.flags |= 1024),
            (r = !1));
      }
      return xl(e, t, n, r, a, i);
    }
    function xl(e, t, n, r, i, a) {
      bl(e, t);
      var o = 0 !== (128 & t.flags);
      if (!r && !o) return i && Ii(t, n, !1), Dl(e, t, a);
      (r = t.stateNode), (dl.current = t);
      var l =
        o && "function" !== typeof n.getDerivedStateFromError
          ? null
          : r.render();
      return (
        (t.flags |= 1),
        null !== e && o
          ? ((t.child = Ua(t, e.child, null, a)), (t.child = Ua(t, null, l, a)))
          : hl(e, t, l, a),
        (t.memoizedState = r.state),
        i && Ii(t, n, !0),
        t.child
      );
    }
    function Sl(e) {
      var t = e.stateNode;
      t.pendingContext
        ? Ni(0, t.pendingContext, t.pendingContext !== t.context)
        : t.context && Ni(0, t.context, !1),
        Xa(e, t.containerInfo);
    }
    function _l(e, t, n, r, i) {
      return oa(), la(i), (t.flags |= 256), hl(e, t, n, r), t.child;
    }
    var Cl,
      El,
      Nl,
      Ll = { dehydrated: null, treeContext: null, retryLane: 0 };
    function Ol(e) {
      return { baseLanes: e, cachePool: null, transitions: null };
    }
    function Il(e, t, n) {
      var r,
        i = t.pendingProps,
        o = eo.current,
        l = !1,
        u = 0 !== (128 & t.flags);
      if (
        ((r = u) ||
          (r = (null === e || null !== e.memoizedState) && 0 !== (2 & o)),
        r
          ? ((l = !0), (t.flags &= -129))
          : (null !== e && null === e.memoizedState) || (o |= 1),
        bi(eo, 1 & o),
        null === e)
      )
        return (
          na(t),
          null !== (e = t.memoizedState) && null !== (e = e.dehydrated)
            ? (0 === (1 & t.mode)
                ? (t.lanes = 1)
                : "$!" === e.data
                ? (t.lanes = 8)
                : (t.lanes = 1073741824),
              null)
            : ((u = i.children),
              (e = i.fallback),
              l
                ? ((i = t.mode),
                  (l = t.child),
                  (u = { mode: "hidden", children: u }),
                  0 === (1 & i) && null !== l
                    ? ((l.childLanes = 0), (l.pendingProps = u))
                    : (l = Es(u, i, 0, null)),
                  (e = Cs(e, i, n, null)),
                  (l.return = t),
                  (e.return = t),
                  (l.sibling = e),
                  (t.child = l),
                  (t.child.memoizedState = Ol(n)),
                  (t.memoizedState = Ll),
                  e)
                : zl(t, u))
        );
      if (null !== (o = e.memoizedState) && null !== (r = o.dehydrated))
        return (function (e, t, n, r, i, o, l) {
          if (n)
            return 256 & t.flags
              ? ((t.flags &= -257), (r = il(Error(a(422)))), Pl(e, t, l, r))
              : null !== t.memoizedState
              ? ((t.child = e.child), (t.flags |= 128), null)
              : ((o = r.fallback),
                (i = t.mode),
                (r = Es({ mode: "visible", children: r.children }, i, 0, null)),
                ((o = Cs(o, i, l, null)).flags |= 2),
                (r.return = t),
                (o.return = t),
                (r.sibling = o),
                (t.child = r),
                0 !== (1 & t.mode) && Ua(t, e.child, null, l),
                (t.child.memoizedState = Ol(l)),
                (t.memoizedState = Ll),
                o);
          if (0 === (1 & t.mode)) return Pl(e, t, l, null);
          if ("$!" === i.data) {
            if ((r = i.nextSibling && i.nextSibling.dataset)) var u = r.dgst;
            return (
              (r = u),
              (o = Error(a(419))),
              (r = il(o, r, void 0)),
              Pl(e, t, l, r)
            );
          }
          if (((u = 0 !== (l & e.childLanes)), pl || u)) {
            if (null !== (r = bu)) {
              switch (l & -l) {
                case 4:
                  i = 2;
                  break;
                case 16:
                  i = 8;
                  break;
                case 64:
                case 128:
                case 256:
                case 512:
                case 1024:
                case 2048:
                case 4096:
                case 8192:
                case 16384:
                case 32768:
                case 65536:
                case 131072:
                case 262144:
                case 524288:
                case 1048576:
                case 2097152:
                case 4194304:
                case 8388608:
                case 16777216:
                case 33554432:
                case 67108864:
                  i = 32;
                  break;
                case 536870912:
                  i = 268435456;
                  break;
                default:
                  i = 0;
              }
              0 !== (i = 0 !== (i & (r.suspendedLanes | l)) ? 0 : i) &&
                i !== o.retryLane &&
                ((o.retryLane = i), xa(e, i), Gu(r, e, i, -1));
            }
            return as(), (r = il(Error(a(421)))), Pl(e, t, l, r);
          }
          return "$?" === i.data
            ? ((t.flags |= 128),
              (t.child = e.child),
              (t = ms.bind(null, e)),
              (i._reactRetry = t),
              null)
            : ((e = o.treeContext),
              (Xi = ni(i.nextSibling)),
              (Ki = t),
              (Yi = !0),
              (Ji = null),
              null !== e &&
                ((Vi[Wi++] = Ui),
                (Vi[Wi++] = Hi),
                (Vi[Wi++] = $i),
                (Ui = e.id),
                (Hi = e.overflow),
                ($i = t)),
              ((t = zl(t, r.children)).flags |= 4096),
              t);
        })(e, t, u, i, r, o, n);
      if (l) {
        (l = i.fallback), (u = t.mode), (r = (o = e.child).sibling);
        var s = { mode: "hidden", children: i.children };
        return (
          0 === (1 & u) && t.child !== o
            ? (((i = t.child).childLanes = 0),
              (i.pendingProps = s),
              (t.deletions = null))
            : ((i = Ss(o, s)).subtreeFlags = 14680064 & o.subtreeFlags),
          null !== r ? (l = Ss(r, l)) : ((l = Cs(l, u, n, null)).flags |= 2),
          (l.return = t),
          (i.return = t),
          (i.sibling = l),
          (t.child = i),
          (i = l),
          (l = t.child),
          (u =
            null === (u = e.child.memoizedState)
              ? Ol(n)
              : {
                  baseLanes: u.baseLanes | n,
                  cachePool: null,
                  transitions: u.transitions,
                }),
          (l.memoizedState = u),
          (l.childLanes = e.childLanes & ~n),
          (t.memoizedState = Ll),
          i
        );
      }
      return (
        (e = (l = e.child).sibling),
        (i = Ss(l, { mode: "visible", children: i.children })),
        0 === (1 & t.mode) && (i.lanes = n),
        (i.return = t),
        (i.sibling = null),
        null !== e &&
          (null === (n = t.deletions)
            ? ((t.deletions = [e]), (t.flags |= 16))
            : n.push(e)),
        (t.child = i),
        (t.memoizedState = null),
        i
      );
    }
    function zl(e, t) {
      return (
        ((t = Es({ mode: "visible", children: t }, e.mode, 0, null)).return =
          e),
        (e.child = t)
      );
    }
    function Pl(e, t, n, r) {
      return (
        null !== r && la(r),
        Ua(t, e.child, null, n),
        ((e = zl(t, t.pendingProps.children)).flags |= 2),
        (t.memoizedState = null),
        e
      );
    }
    function Tl(e, t, n) {
      e.lanes |= t;
      var r = e.alternate;
      null !== r && (r.lanes |= t), ga(e.return, t, n);
    }
    function jl(e, t, n, r, i) {
      var a = e.memoizedState;
      null === a
        ? (e.memoizedState = {
            isBackwards: t,
            rendering: null,
            renderingStartTime: 0,
            last: r,
            tail: n,
            tailMode: i,
          })
        : ((a.isBackwards = t),
          (a.rendering = null),
          (a.renderingStartTime = 0),
          (a.last = r),
          (a.tail = n),
          (a.tailMode = i));
    }
    function Rl(e, t, n) {
      var r = t.pendingProps,
        i = r.revealOrder,
        a = r.tail;
      if ((hl(e, t, r.children, n), 0 !== (2 & (r = eo.current))))
        (r = (1 & r) | 2), (t.flags |= 128);
      else {
        if (null !== e && 0 !== (128 & e.flags))
          e: for (e = t.child; null !== e; ) {
            if (13 === e.tag) null !== e.memoizedState && Tl(e, n, t);
            else if (19 === e.tag) Tl(e, n, t);
            else if (null !== e.child) {
              (e.child.return = e), (e = e.child);
              continue;
            }
            if (e === t) break e;
            for (; null === e.sibling; ) {
              if (null === e.return || e.return === t) break e;
              e = e.return;
            }
            (e.sibling.return = e.return), (e = e.sibling);
          }
        r &= 1;
      }
      if ((bi(eo, r), 0 === (1 & t.mode))) t.memoizedState = null;
      else
        switch (i) {
          case "forwards":
            for (n = t.child, i = null; null !== n; )
              null !== (e = n.alternate) && null === to(e) && (i = n),
                (n = n.sibling);
            null === (n = i)
              ? ((i = t.child), (t.child = null))
              : ((i = n.sibling), (n.sibling = null)),
              jl(t, !1, i, n, a);
            break;
          case "backwards":
            for (n = null, i = t.child, t.child = null; null !== i; ) {
              if (null !== (e = i.alternate) && null === to(e)) {
                t.child = i;
                break;
              }
              (e = i.sibling), (i.sibling = n), (n = i), (i = e);
            }
            jl(t, !0, n, null, a);
            break;
          case "together":
            jl(t, !1, null, null, void 0);
            break;
          default:
            t.memoizedState = null;
        }
      return t.child;
    }
    function Al(e, t) {
      0 === (1 & t.mode) &&
        null !== e &&
        ((e.alternate = null), (t.alternate = null), (t.flags |= 2));
    }
    function Dl(e, t, n) {
      if (
        (null !== e && (t.dependencies = e.dependencies),
        (Eu |= t.lanes),
        0 === (n & t.childLanes))
      )
        return null;
      if (null !== e && t.child !== e.child) throw Error(a(153));
      if (null !== t.child) {
        for (
          n = Ss((e = t.child), e.pendingProps), t.child = n, n.return = t;
          null !== e.sibling;

        )
          (e = e.sibling), ((n = n.sibling = Ss(e, e.pendingProps)).return = t);
        n.sibling = null;
      }
      return t.child;
    }
    function Fl(e, t) {
      if (!Yi)
        switch (e.tailMode) {
          case "hidden":
            t = e.tail;
            for (var n = null; null !== t; )
              null !== t.alternate && (n = t), (t = t.sibling);
            null === n ? (e.tail = null) : (n.sibling = null);
            break;
          case "collapsed":
            n = e.tail;
            for (var r = null; null !== n; )
              null !== n.alternate && (r = n), (n = n.sibling);
            null === r
              ? t || null === e.tail
                ? (e.tail = null)
                : (e.tail.sibling = null)
              : (r.sibling = null);
        }
    }
    function Ml(e) {
      var t = null !== e.alternate && e.alternate.child === e.child,
        n = 0,
        r = 0;
      if (t)
        for (var i = e.child; null !== i; )
          (n |= i.lanes | i.childLanes),
            (r |= 14680064 & i.subtreeFlags),
            (r |= 14680064 & i.flags),
            (i.return = e),
            (i = i.sibling);
      else
        for (i = e.child; null !== i; )
          (n |= i.lanes | i.childLanes),
            (r |= i.subtreeFlags),
            (r |= i.flags),
            (i.return = e),
            (i = i.sibling);
      return (e.subtreeFlags |= r), (e.childLanes = n), t;
    }
    function Vl(e, t, n) {
      var r = t.pendingProps;
      switch ((qi(t), t.tag)) {
        case 2:
        case 16:
        case 15:
        case 0:
        case 11:
        case 7:
        case 8:
        case 12:
        case 9:
        case 14:
          return Ml(t), null;
        case 1:
          return Ci(t.type) && Ei(), Ml(t), null;
        case 3:
          return (
            (r = t.stateNode),
            Ya(),
            yi(xi),
            yi(ki),
            ro(),
            r.pendingContext &&
              ((r.context = r.pendingContext), (r.pendingContext = null)),
            (null !== e && null !== e.child) ||
              (ia(t)
                ? (t.flags |= 4)
                : null === e ||
                  (e.memoizedState.isDehydrated && 0 === (256 & t.flags)) ||
                  ((t.flags |= 1024), null !== Ji && (Xu(Ji), (Ji = null)))),
            Ml(t),
            null
          );
        case 5:
          Za(t);
          var i = Ka(qa.current);
          if (((n = t.type), null !== e && null != t.stateNode))
            El(e, t, n, r),
              e.ref !== t.ref && ((t.flags |= 512), (t.flags |= 2097152));
          else {
            if (!r) {
              if (null === t.stateNode) throw Error(a(166));
              return Ml(t), null;
            }
            if (((e = Ka(Ga.current)), ia(t))) {
              (r = t.stateNode), (n = t.type);
              var o = t.memoizedProps;
              switch (((r[ai] = t), (r[oi] = o), (e = 0 !== (1 & t.mode)), n)) {
                case "dialog":
                  Pr("cancel", r), Pr("close", r);
                  break;
                case "iframe":
                case "object":
                case "embed":
                  Pr("load", r);
                  break;
                case "video":
                case "audio":
                  for (i = 0; i < Lr.length; i++) Pr(Lr[i], r);
                  break;
                case "source":
                  Pr("error", r);
                  break;
                case "img":
                case "image":
                case "link":
                  Pr("error", r), Pr("load", r);
                  break;
                case "details":
                  Pr("toggle", r);
                  break;
                case "input":
                  K(r, o), Pr("invalid", r);
                  break;
                case "select":
                  (r._wrapperState = { wasMultiple: !!o.multiple }),
                    Pr("invalid", r);
                  break;
                case "textarea":
                  re(r, o), Pr("invalid", r);
              }
              for (var u in (ge(n, o), (i = null), o))
                if (o.hasOwnProperty(u)) {
                  var s = o[u];
                  "children" === u
                    ? "string" === typeof s
                      ? r.textContent !== s &&
                        (!0 !== o.suppressHydrationWarning &&
                          Br(r.textContent, s, e),
                        (i = ["children", s]))
                      : "number" === typeof s &&
                        r.textContent !== "" + s &&
                        (!0 !== o.suppressHydrationWarning &&
                          Br(r.textContent, s, e),
                        (i = ["children", "" + s]))
                    : l.hasOwnProperty(u) &&
                      null != s &&
                      "onScroll" === u &&
                      Pr("scroll", r);
                }
              switch (n) {
                case "input":
                  B(r), J(r, o, !0);
                  break;
                case "textarea":
                  B(r), ae(r);
                  break;
                case "select":
                case "option":
                  break;
                default:
                  "function" === typeof o.onClick && (r.onclick = Gr);
              }
              (r = i), (t.updateQueue = r), null !== r && (t.flags |= 4);
            } else {
              (u = 9 === i.nodeType ? i : i.ownerDocument),
                "http://www.w3.org/1999/xhtml" === e && (e = oe(n)),
                "http://www.w3.org/1999/xhtml" === e
                  ? "script" === n
                    ? (((e = u.createElement("div")).innerHTML =
                        "<script></script>"),
                      (e = e.removeChild(e.firstChild)))
                    : "string" === typeof r.is
                    ? (e = u.createElement(n, { is: r.is }))
                    : ((e = u.createElement(n)),
                      "select" === n &&
                        ((u = e),
                        r.multiple
                          ? (u.multiple = !0)
                          : r.size && (u.size = r.size)))
                  : (e = u.createElementNS(e, n)),
                (e[ai] = t),
                (e[oi] = r),
                Cl(e, t),
                (t.stateNode = e);
              e: {
                switch (((u = me(n, r)), n)) {
                  case "dialog":
                    Pr("cancel", e), Pr("close", e), (i = r);
                    break;
                  case "iframe":
                  case "object":
                  case "embed":
                    Pr("load", e), (i = r);
                    break;
                  case "video":
                  case "audio":
                    for (i = 0; i < Lr.length; i++) Pr(Lr[i], e);
                    i = r;
                    break;
                  case "source":
                    Pr("error", e), (i = r);
                    break;
                  case "img":
                  case "image":
                  case "link":
                    Pr("error", e), Pr("load", e), (i = r);
                    break;
                  case "details":
                    Pr("toggle", e), (i = r);
                    break;
                  case "input":
                    K(e, r), (i = q(e, r)), Pr("invalid", e);
                    break;
                  case "option":
                    i = r;
                    break;
                  case "select":
                    (e._wrapperState = { wasMultiple: !!r.multiple }),
                      (i = D({}, r, { value: void 0 })),
                      Pr("invalid", e);
                    break;
                  case "textarea":
                    re(e, r), (i = ne(e, r)), Pr("invalid", e);
                    break;
                  default:
                    i = r;
                }
                for (o in (ge(n, i), (s = i)))
                  if (s.hasOwnProperty(o)) {
                    var c = s[o];
                    "style" === o
                      ? he(e, c)
                      : "dangerouslySetInnerHTML" === o
                      ? null != (c = c ? c.__html : void 0) && se(e, c)
                      : "children" === o
                      ? "string" === typeof c
                        ? ("textarea" !== n || "" !== c) && ce(e, c)
                        : "number" === typeof c && ce(e, "" + c)
                      : "suppressContentEditableWarning" !== o &&
                        "suppressHydrationWarning" !== o &&
                        "autoFocus" !== o &&
                        (l.hasOwnProperty(o)
                          ? null != c && "onScroll" === o && Pr("scroll", e)
                          : null != c && b(e, o, c, u));
                  }
                switch (n) {
                  case "input":
                    B(e), J(e, r, !1);
                    break;
                  case "textarea":
                    B(e), ae(e);
                    break;
                  case "option":
                    null != r.value && e.setAttribute("value", "" + U(r.value));
                    break;
                  case "select":
                    (e.multiple = !!r.multiple),
                      null != (o = r.value)
                        ? te(e, !!r.multiple, o, !1)
                        : null != r.defaultValue &&
                          te(e, !!r.multiple, r.defaultValue, !0);
                    break;
                  default:
                    "function" === typeof i.onClick && (e.onclick = Gr);
                }
                switch (n) {
                  case "button":
                  case "input":
                  case "select":
                  case "textarea":
                    r = !!r.autoFocus;
                    break e;
                  case "img":
                    r = !0;
                    break e;
                  default:
                    r = !1;
                }
              }
              r && (t.flags |= 4);
            }
            null !== t.ref && ((t.flags |= 512), (t.flags |= 2097152));
          }
          return Ml(t), null;
        case 6:
          if (e && null != t.stateNode) Nl(0, t, e.memoizedProps, r);
          else {
            if ("string" !== typeof r && null === t.stateNode)
              throw Error(a(166));
            if (((n = Ka(qa.current)), Ka(Ga.current), ia(t))) {
              if (
                ((r = t.stateNode),
                (n = t.memoizedProps),
                (r[ai] = t),
                (o = r.nodeValue !== n) && null !== (e = Ki))
              )
                switch (e.tag) {
                  case 3:
                    Br(r.nodeValue, n, 0 !== (1 & e.mode));
                    break;
                  case 5:
                    !0 !== e.memoizedProps.suppressHydrationWarning &&
                      Br(r.nodeValue, n, 0 !== (1 & e.mode));
                }
              o && (t.flags |= 4);
            } else
              ((r = (9 === n.nodeType ? n : n.ownerDocument).createTextNode(r))[
                ai
              ] = t),
                (t.stateNode = r);
          }
          return Ml(t), null;
        case 13:
          if (
            (yi(eo),
            (r = t.memoizedState),
            null === e ||
              (null !== e.memoizedState && null !== e.memoizedState.dehydrated))
          ) {
            if (
              Yi &&
              null !== Xi &&
              0 !== (1 & t.mode) &&
              0 === (128 & t.flags)
            )
              aa(), oa(), (t.flags |= 98560), (o = !1);
            else if (((o = ia(t)), null !== r && null !== r.dehydrated)) {
              if (null === e) {
                if (!o) throw Error(a(318));
                if (!(o = null !== (o = t.memoizedState) ? o.dehydrated : null))
                  throw Error(a(317));
                o[ai] = t;
              } else
                oa(),
                  0 === (128 & t.flags) && (t.memoizedState = null),
                  (t.flags |= 4);
              Ml(t), (o = !1);
            } else null !== Ji && (Xu(Ji), (Ji = null)), (o = !0);
            if (!o) return 65536 & t.flags ? t : null;
          }
          return 0 !== (128 & t.flags)
            ? ((t.lanes = n), t)
            : ((r = null !== r) !== (null !== e && null !== e.memoizedState) &&
                r &&
                ((t.child.flags |= 8192),
                0 !== (1 & t.mode) &&
                  (null === e || 0 !== (1 & eo.current)
                    ? 0 === _u && (_u = 3)
                    : as())),
              null !== t.updateQueue && (t.flags |= 4),
              Ml(t),
              null);
        case 4:
          return Ya(), null === e && Rr(t.stateNode.containerInfo), Ml(t), null;
        case 10:
          return va(t.type._context), Ml(t), null;
        case 17:
          return Ci(t.type) && Ei(), Ml(t), null;
        case 19:
          if ((yi(eo), null === (o = t.memoizedState))) return Ml(t), null;
          if (((r = 0 !== (128 & t.flags)), null === (u = o.rendering)))
            if (r) Fl(o, !1);
            else {
              if (0 !== _u || (null !== e && 0 !== (128 & e.flags)))
                for (e = t.child; null !== e; ) {
                  if (null !== (u = to(e))) {
                    for (
                      t.flags |= 128,
                        Fl(o, !1),
                        null !== (r = u.updateQueue) &&
                          ((t.updateQueue = r), (t.flags |= 4)),
                        t.subtreeFlags = 0,
                        r = n,
                        n = t.child;
                      null !== n;

                    )
                      (e = r),
                        ((o = n).flags &= 14680066),
                        null === (u = o.alternate)
                          ? ((o.childLanes = 0),
                            (o.lanes = e),
                            (o.child = null),
                            (o.subtreeFlags = 0),
                            (o.memoizedProps = null),
                            (o.memoizedState = null),
                            (o.updateQueue = null),
                            (o.dependencies = null),
                            (o.stateNode = null))
                          : ((o.childLanes = u.childLanes),
                            (o.lanes = u.lanes),
                            (o.child = u.child),
                            (o.subtreeFlags = 0),
                            (o.deletions = null),
                            (o.memoizedProps = u.memoizedProps),
                            (o.memoizedState = u.memoizedState),
                            (o.updateQueue = u.updateQueue),
                            (o.type = u.type),
                            (e = u.dependencies),
                            (o.dependencies =
                              null === e
                                ? null
                                : {
                                    lanes: e.lanes,
                                    firstContext: e.firstContext,
                                  })),
                        (n = n.sibling);
                    return bi(eo, (1 & eo.current) | 2), t.child;
                  }
                  e = e.sibling;
                }
              null !== o.tail &&
                qe() > Pu &&
                ((t.flags |= 128), (r = !0), Fl(o, !1), (t.lanes = 4194304));
            }
          else {
            if (!r)
              if (null !== (e = to(u))) {
                if (
                  ((t.flags |= 128),
                  (r = !0),
                  null !== (n = e.updateQueue) &&
                    ((t.updateQueue = n), (t.flags |= 4)),
                  Fl(o, !0),
                  null === o.tail &&
                    "hidden" === o.tailMode &&
                    !u.alternate &&
                    !Yi)
                )
                  return Ml(t), null;
              } else
                2 * qe() - o.renderingStartTime > Pu &&
                  1073741824 !== n &&
                  ((t.flags |= 128), (r = !0), Fl(o, !1), (t.lanes = 4194304));
            o.isBackwards
              ? ((u.sibling = t.child), (t.child = u))
              : (null !== (n = o.last) ? (n.sibling = u) : (t.child = u),
                (o.last = u));
          }
          return null !== o.tail
            ? ((t = o.tail),
              (o.rendering = t),
              (o.tail = t.sibling),
              (o.renderingStartTime = qe()),
              (t.sibling = null),
              (n = eo.current),
              bi(eo, r ? (1 & n) | 2 : 1 & n),
              t)
            : (Ml(t), null);
        case 22:
        case 23:
          return (
            ts(),
            (r = null !== t.memoizedState),
            null !== e && (null !== e.memoizedState) !== r && (t.flags |= 8192),
            r && 0 !== (1 & t.mode)
              ? 0 !== (1073741824 & xu) &&
                (Ml(t), 6 & t.subtreeFlags && (t.flags |= 8192))
              : Ml(t),
            null
          );
        case 24:
        case 25:
          return null;
      }
      throw Error(a(156, t.tag));
    }
    function Wl(e, t) {
      switch ((qi(t), t.tag)) {
        case 1:
          return (
            Ci(t.type) && Ei(),
            65536 & (e = t.flags) ? ((t.flags = (-65537 & e) | 128), t) : null
          );
        case 3:
          return (
            Ya(),
            yi(xi),
            yi(ki),
            ro(),
            0 !== (65536 & (e = t.flags)) && 0 === (128 & e)
              ? ((t.flags = (-65537 & e) | 128), t)
              : null
          );
        case 5:
          return Za(t), null;
        case 13:
          if (
            (yi(eo), null !== (e = t.memoizedState) && null !== e.dehydrated)
          ) {
            if (null === t.alternate) throw Error(a(340));
            oa();
          }
          return 65536 & (e = t.flags)
            ? ((t.flags = (-65537 & e) | 128), t)
            : null;
        case 19:
          return yi(eo), null;
        case 4:
          return Ya(), null;
        case 10:
          return va(t.type._context), null;
        case 22:
        case 23:
          return ts(), null;
        case 24:
        default:
          return null;
      }
    }
    (Cl = function (e, t) {
      for (var n = t.child; null !== n; ) {
        if (5 === n.tag || 6 === n.tag) e.appendChild(n.stateNode);
        else if (4 !== n.tag && null !== n.child) {
          (n.child.return = n), (n = n.child);
          continue;
        }
        if (n === t) break;
        for (; null === n.sibling; ) {
          if (null === n.return || n.return === t) return;
          n = n.return;
        }
        (n.sibling.return = n.return), (n = n.sibling);
      }
    }),
      (El = function (e, t, n, r) {
        var i = e.memoizedProps;
        if (i !== r) {
          (e = t.stateNode), Ka(Ga.current);
          var a,
            o = null;
          switch (n) {
            case "input":
              (i = q(e, i)), (r = q(e, r)), (o = []);
              break;
            case "select":
              (i = D({}, i, { value: void 0 })),
                (r = D({}, r, { value: void 0 })),
                (o = []);
              break;
            case "textarea":
              (i = ne(e, i)), (r = ne(e, r)), (o = []);
              break;
            default:
              "function" !== typeof i.onClick &&
                "function" === typeof r.onClick &&
                (e.onclick = Gr);
          }
          for (c in (ge(n, r), (n = null), i))
            if (!r.hasOwnProperty(c) && i.hasOwnProperty(c) && null != i[c])
              if ("style" === c) {
                var u = i[c];
                for (a in u)
                  u.hasOwnProperty(a) && (n || (n = {}), (n[a] = ""));
              } else
                "dangerouslySetInnerHTML" !== c &&
                  "children" !== c &&
                  "suppressContentEditableWarning" !== c &&
                  "suppressHydrationWarning" !== c &&
                  "autoFocus" !== c &&
                  (l.hasOwnProperty(c)
                    ? o || (o = [])
                    : (o = o || []).push(c, null));
          for (c in r) {
            var s = r[c];
            if (
              ((u = null != i ? i[c] : void 0),
              r.hasOwnProperty(c) && s !== u && (null != s || null != u))
            )
              if ("style" === c)
                if (u) {
                  for (a in u)
                    !u.hasOwnProperty(a) ||
                      (s && s.hasOwnProperty(a)) ||
                      (n || (n = {}), (n[a] = ""));
                  for (a in s)
                    s.hasOwnProperty(a) &&
                      u[a] !== s[a] &&
                      (n || (n = {}), (n[a] = s[a]));
                } else n || (o || (o = []), o.push(c, n)), (n = s);
              else
                "dangerouslySetInnerHTML" === c
                  ? ((s = s ? s.__html : void 0),
                    (u = u ? u.__html : void 0),
                    null != s && u !== s && (o = o || []).push(c, s))
                  : "children" === c
                  ? ("string" !== typeof s && "number" !== typeof s) ||
                    (o = o || []).push(c, "" + s)
                  : "suppressContentEditableWarning" !== c &&
                    "suppressHydrationWarning" !== c &&
                    (l.hasOwnProperty(c)
                      ? (null != s && "onScroll" === c && Pr("scroll", e),
                        o || u === s || (o = []))
                      : (o = o || []).push(c, s));
          }
          n && (o = o || []).push("style", n);
          var c = o;
          (t.updateQueue = c) && (t.flags |= 4);
        }
      }),
      (Nl = function (e, t, n, r) {
        n !== r && (t.flags |= 4);
      });
    var $l = !1,
      Ul = !1,
      Hl = "function" === typeof WeakSet ? WeakSet : Set,
      Bl = null;
    function Gl(e, t) {
      var n = e.ref;
      if (null !== n)
        if ("function" === typeof n)
          try {
            n(null);
          } catch (r) {
            hs(e, t, r);
          }
        else n.current = null;
    }
    function Ql(e, t, n) {
      try {
        n();
      } catch (r) {
        hs(e, t, r);
      }
    }
    var ql = !1;
    function Kl(e, t, n) {
      var r = t.updateQueue;
      if (null !== (r = null !== r ? r.lastEffect : null)) {
        var i = (r = r.next);
        do {
          if ((i.tag & e) === e) {
            var a = i.destroy;
            (i.destroy = void 0), void 0 !== a && Ql(t, n, a);
          }
          i = i.next;
        } while (i !== r);
      }
    }
    function Xl(e, t) {
      if (null !== (t = null !== (t = t.updateQueue) ? t.lastEffect : null)) {
        var n = (t = t.next);
        do {
          if ((n.tag & e) === e) {
            var r = n.create;
            n.destroy = r();
          }
          n = n.next;
        } while (n !== t);
      }
    }
    function Yl(e) {
      var t = e.ref;
      if (null !== t) {
        var n = e.stateNode;
        switch (e.tag) {
          case 5:
            e = n;
            break;
          default:
            e = n;
        }
        "function" === typeof t ? t(e) : (t.current = e);
      }
    }
    function Jl(e) {
      var t = e.alternate;
      null !== t && ((e.alternate = null), Jl(t)),
        (e.child = null),
        (e.deletions = null),
        (e.sibling = null),
        5 === e.tag &&
          null !== (t = e.stateNode) &&
          (delete t[ai],
          delete t[oi],
          delete t[ui],
          delete t[si],
          delete t[ci]),
        (e.stateNode = null),
        (e.return = null),
        (e.dependencies = null),
        (e.memoizedProps = null),
        (e.memoizedState = null),
        (e.pendingProps = null),
        (e.stateNode = null),
        (e.updateQueue = null);
    }
    function Zl(e) {
      return 5 === e.tag || 3 === e.tag || 4 === e.tag;
    }
    function eu(e) {
      e: for (;;) {
        for (; null === e.sibling; ) {
          if (null === e.return || Zl(e.return)) return null;
          e = e.return;
        }
        for (
          e.sibling.return = e.return, e = e.sibling;
          5 !== e.tag && 6 !== e.tag && 18 !== e.tag;

        ) {
          if (2 & e.flags) continue e;
          if (null === e.child || 4 === e.tag) continue e;
          (e.child.return = e), (e = e.child);
        }
        if (!(2 & e.flags)) return e.stateNode;
      }
    }
    var tu = null,
      nu = !1;
    function ru(e, t, n) {
      for (n = n.child; null !== n; ) iu(e, t, n), (n = n.sibling);
    }
    function iu(e, t, n) {
      if (nt && "function" === typeof nt.onCommitFiberUnmount)
        try {
          nt.onCommitFiberUnmount(tt, n);
        } catch (l) {}
      switch (n.tag) {
        case 5:
          Ul || Gl(n, t);
        case 6:
          var r = tu,
            i = nu;
          (tu = null),
            ru(e, t, n),
            (nu = i),
            null !== (tu = r) &&
              (nu
                ? ((e = tu),
                  (n = n.stateNode),
                  8 === e.nodeType
                    ? e.parentNode.removeChild(n)
                    : e.removeChild(n))
                : tu.removeChild(n.stateNode));
          break;
        case 18:
          null !== tu &&
            (nu
              ? ((e = tu),
                (n = n.stateNode),
                8 === e.nodeType
                  ? ti(e.parentNode, n)
                  : 1 === e.nodeType && ti(e, n),
                Mt(e))
              : ti(tu, n.stateNode));
          break;
        case 4:
          (r = tu),
            (i = nu),
            (tu = n.stateNode.containerInfo),
            (nu = !0),
            ru(e, t, n),
            (tu = r),
            (nu = i);
          break;
        case 0:
        case 11:
        case 14:
        case 15:
          if (
            !Ul &&
            null !== (r = n.updateQueue) &&
            null !== (r = r.lastEffect)
          ) {
            i = r = r.next;
            do {
              var a = i,
                o = a.destroy;
              (a = a.tag),
                void 0 !== o && (0 !== (2 & a) || 0 !== (4 & a)) && Ql(n, t, o),
                (i = i.next);
            } while (i !== r);
          }
          ru(e, t, n);
          break;
        case 1:
          if (
            !Ul &&
            (Gl(n, t),
            "function" === typeof (r = n.stateNode).componentWillUnmount)
          )
            try {
              (r.props = n.memoizedProps),
                (r.state = n.memoizedState),
                r.componentWillUnmount();
            } catch (l) {
              hs(n, t, l);
            }
          ru(e, t, n);
          break;
        case 21:
          ru(e, t, n);
          break;
        case 22:
          1 & n.mode
            ? ((Ul = (r = Ul) || null !== n.memoizedState),
              ru(e, t, n),
              (Ul = r))
            : ru(e, t, n);
          break;
        default:
          ru(e, t, n);
      }
    }
    function au(e) {
      var t = e.updateQueue;
      if (null !== t) {
        e.updateQueue = null;
        var n = e.stateNode;
        null === n && (n = e.stateNode = new Hl()),
          t.forEach(function (t) {
            var r = ys.bind(null, e, t);
            n.has(t) || (n.add(t), t.then(r, r));
          });
      }
    }
    function ou(e, t) {
      var n = t.deletions;
      if (null !== n)
        for (var r = 0; r < n.length; r++) {
          var i = n[r];
          try {
            var o = e,
              l = t,
              u = l;
            e: for (; null !== u; ) {
              switch (u.tag) {
                case 5:
                  (tu = u.stateNode), (nu = !1);
                  break e;
                case 3:
                case 4:
                  (tu = u.stateNode.containerInfo), (nu = !0);
                  break e;
              }
              u = u.return;
            }
            if (null === tu) throw Error(a(160));
            iu(o, l, i), (tu = null), (nu = !1);
            var s = i.alternate;
            null !== s && (s.return = null), (i.return = null);
          } catch (c) {
            hs(i, t, c);
          }
        }
      if (12854 & t.subtreeFlags)
        for (t = t.child; null !== t; ) lu(t, e), (t = t.sibling);
    }
    function lu(e, t) {
      var n = e.alternate,
        r = e.flags;
      switch (e.tag) {
        case 0:
        case 11:
        case 14:
        case 15:
          if ((ou(t, e), uu(e), 4 & r)) {
            try {
              Kl(3, e, e.return), Xl(3, e);
            } catch (g) {
              hs(e, e.return, g);
            }
            try {
              Kl(5, e, e.return);
            } catch (g) {
              hs(e, e.return, g);
            }
          }
          break;
        case 1:
          ou(t, e), uu(e), 512 & r && null !== n && Gl(n, n.return);
          break;
        case 5:
          if (
            (ou(t, e),
            uu(e),
            512 & r && null !== n && Gl(n, n.return),
            32 & e.flags)
          ) {
            var i = e.stateNode;
            try {
              ce(i, "");
            } catch (g) {
              hs(e, e.return, g);
            }
          }
          if (4 & r && null != (i = e.stateNode)) {
            var o = e.memoizedProps,
              l = null !== n ? n.memoizedProps : o,
              u = e.type,
              s = e.updateQueue;
            if (((e.updateQueue = null), null !== s))
              try {
                "input" === u &&
                  "radio" === o.type &&
                  null != o.name &&
                  X(i, o),
                  me(u, l);
                var c = me(u, o);
                for (l = 0; l < s.length; l += 2) {
                  var f = s[l],
                    d = s[l + 1];
                  "style" === f
                    ? he(i, d)
                    : "dangerouslySetInnerHTML" === f
                    ? se(i, d)
                    : "children" === f
                    ? ce(i, d)
                    : b(i, f, d, c);
                }
                switch (u) {
                  case "input":
                    Y(i, o);
                    break;
                  case "textarea":
                    ie(i, o);
                    break;
                  case "select":
                    var p = i._wrapperState.wasMultiple;
                    i._wrapperState.wasMultiple = !!o.multiple;
                    var h = o.value;
                    null != h
                      ? te(i, !!o.multiple, h, !1)
                      : p !== !!o.multiple &&
                        (null != o.defaultValue
                          ? te(i, !!o.multiple, o.defaultValue, !0)
                          : te(i, !!o.multiple, o.multiple ? [] : "", !1));
                }
                i[oi] = o;
              } catch (g) {
                hs(e, e.return, g);
              }
          }
          break;
        case 6:
          if ((ou(t, e), uu(e), 4 & r)) {
            if (null === e.stateNode) throw Error(a(162));
            (i = e.stateNode), (o = e.memoizedProps);
            try {
              i.nodeValue = o;
            } catch (g) {
              hs(e, e.return, g);
            }
          }
          break;
        case 3:
          if (
            (ou(t, e),
            uu(e),
            4 & r && null !== n && n.memoizedState.isDehydrated)
          )
            try {
              Mt(t.containerInfo);
            } catch (g) {
              hs(e, e.return, g);
            }
          break;
        case 4:
          ou(t, e), uu(e);
          break;
        case 13:
          ou(t, e),
            uu(e),
            8192 & (i = e.child).flags &&
              ((o = null !== i.memoizedState),
              (i.stateNode.isHidden = o),
              !o ||
                (null !== i.alternate && null !== i.alternate.memoizedState) ||
                (zu = qe())),
            4 & r && au(e);
          break;
        case 22:
          if (
            ((f = null !== n && null !== n.memoizedState),
            1 & e.mode ? ((Ul = (c = Ul) || f), ou(t, e), (Ul = c)) : ou(t, e),
            uu(e),
            8192 & r)
          ) {
            if (
              ((c = null !== e.memoizedState),
              (e.stateNode.isHidden = c) && !f && 0 !== (1 & e.mode))
            )
              for (Bl = e, f = e.child; null !== f; ) {
                for (d = Bl = f; null !== Bl; ) {
                  switch (((h = (p = Bl).child), p.tag)) {
                    case 0:
                    case 11:
                    case 14:
                    case 15:
                      Kl(4, p, p.return);
                      break;
                    case 1:
                      Gl(p, p.return);
                      var v = p.stateNode;
                      if ("function" === typeof v.componentWillUnmount) {
                        (r = p), (n = p.return);
                        try {
                          (t = r),
                            (v.props = t.memoizedProps),
                            (v.state = t.memoizedState),
                            v.componentWillUnmount();
                        } catch (g) {
                          hs(r, n, g);
                        }
                      }
                      break;
                    case 5:
                      Gl(p, p.return);
                      break;
                    case 22:
                      if (null !== p.memoizedState) {
                        fu(d);
                        continue;
                      }
                  }
                  null !== h ? ((h.return = p), (Bl = h)) : fu(d);
                }
                f = f.sibling;
              }
            e: for (f = null, d = e; ; ) {
              if (5 === d.tag) {
                if (null === f) {
                  f = d;
                  try {
                    (i = d.stateNode),
                      c
                        ? "function" === typeof (o = i.style).setProperty
                          ? o.setProperty("display", "none", "important")
                          : (o.display = "none")
                        : ((u = d.stateNode),
                          (l =
                            void 0 !== (s = d.memoizedProps.style) &&
                            null !== s &&
                            s.hasOwnProperty("display")
                              ? s.display
                              : null),
                          (u.style.display = pe("display", l)));
                  } catch (g) {
                    hs(e, e.return, g);
                  }
                }
              } else if (6 === d.tag) {
                if (null === f)
                  try {
                    d.stateNode.nodeValue = c ? "" : d.memoizedProps;
                  } catch (g) {
                    hs(e, e.return, g);
                  }
              } else if (
                ((22 !== d.tag && 23 !== d.tag) ||
                  null === d.memoizedState ||
                  d === e) &&
                null !== d.child
              ) {
                (d.child.return = d), (d = d.child);
                continue;
              }
              if (d === e) break e;
              for (; null === d.sibling; ) {
                if (null === d.return || d.return === e) break e;
                f === d && (f = null), (d = d.return);
              }
              f === d && (f = null),
                (d.sibling.return = d.return),
                (d = d.sibling);
            }
          }
          break;
        case 19:
          ou(t, e), uu(e), 4 & r && au(e);
          break;
        case 21:
          break;
        default:
          ou(t, e), uu(e);
      }
    }
    function uu(e) {
      var t = e.flags;
      if (2 & t) {
        try {
          e: {
            for (var n = e.return; null !== n; ) {
              if (Zl(n)) {
                var r = n;
                break e;
              }
              n = n.return;
            }
            throw Error(a(160));
          }
          switch (r.tag) {
            case 5:
              var i = r.stateNode;
              32 & r.flags && (ce(i, ""), (r.flags &= -33)),
                (function e(t, n, r) {
                  var i = t.tag;
                  if (5 === i || 6 === i)
                    (t = t.stateNode),
                      n ? r.insertBefore(t, n) : r.appendChild(t);
                  else if (4 !== i && null !== (t = t.child))
                    for (e(t, n, r), t = t.sibling; null !== t; )
                      e(t, n, r), (t = t.sibling);
                })(e, eu(e), i);
              break;
            case 3:
            case 4:
              var o = r.stateNode.containerInfo;
              !(function e(t, n, r) {
                var i = t.tag;
                if (5 === i || 6 === i)
                  (t = t.stateNode),
                    n
                      ? 8 === r.nodeType
                        ? r.parentNode.insertBefore(t, n)
                        : r.insertBefore(t, n)
                      : (8 === r.nodeType
                          ? (n = r.parentNode).insertBefore(t, r)
                          : (n = r).appendChild(t),
                        (null !== (r = r._reactRootContainer) &&
                          void 0 !== r) ||
                          null !== n.onclick ||
                          (n.onclick = Gr));
                else if (4 !== i && null !== (t = t.child))
                  for (e(t, n, r), t = t.sibling; null !== t; )
                    e(t, n, r), (t = t.sibling);
              })(e, eu(e), o);
              break;
            default:
              throw Error(a(161));
          }
        } catch (l) {
          hs(e, e.return, l);
        }
        e.flags &= -3;
      }
      4096 & t && (e.flags &= -4097);
    }
    function su(e, t, n) {
      (Bl = e),
        (function e(t, n, r) {
          for (var i = 0 !== (1 & t.mode); null !== Bl; ) {
            var a = Bl,
              o = a.child;
            if (22 === a.tag && i) {
              var l = null !== a.memoizedState || $l;
              if (!l) {
                var u = a.alternate,
                  s = (null !== u && null !== u.memoizedState) || Ul;
                u = $l;
                var c = Ul;
                if ((($l = l), (Ul = s) && !c))
                  for (Bl = a; null !== Bl; )
                    (s = (l = Bl).child),
                      22 === l.tag && null !== l.memoizedState
                        ? du(a)
                        : null !== s
                        ? ((s.return = l), (Bl = s))
                        : du(a);
                for (; null !== o; ) (Bl = o), e(o, n, r), (o = o.sibling);
                (Bl = a), ($l = u), (Ul = c);
              }
              cu(t);
            } else
              0 !== (8772 & a.subtreeFlags) && null !== o
                ? ((o.return = a), (Bl = o))
                : cu(t);
          }
        })(e, t, n);
    }
    function cu(e) {
      for (; null !== Bl; ) {
        var t = Bl;
        if (0 !== (8772 & t.flags)) {
          var n = t.alternate;
          try {
            if (0 !== (8772 & t.flags))
              switch (t.tag) {
                case 0:
                case 11:
                case 15:
                  Ul || Xl(5, t);
                  break;
                case 1:
                  var r = t.stateNode;
                  if (4 & t.flags && !Ul)
                    if (null === n) r.componentDidMount();
                    else {
                      var i =
                        t.elementType === t.type
                          ? n.memoizedProps
                          : sa(t.type, n.memoizedProps);
                      r.componentDidUpdate(
                        i,
                        n.memoizedState,
                        r.__reactInternalSnapshotBeforeUpdate
                      );
                    }
                  var o = t.updateQueue;
                  null !== o && za(t, o, r);
                  break;
                case 3:
                  var l = t.updateQueue;
                  if (null !== l) {
                    if (((n = null), null !== t.child))
                      switch (t.child.tag) {
                        case 5:
                          n = t.child.stateNode;
                          break;
                        case 1:
                          n = t.child.stateNode;
                      }
                    za(t, l, n);
                  }
                  break;
                case 5:
                  var u = t.stateNode;
                  if (null === n && 4 & t.flags) {
                    n = u;
                    var s = t.memoizedProps;
                    switch (t.type) {
                      case "button":
                      case "input":
                      case "select":
                      case "textarea":
                        s.autoFocus && n.focus();
                        break;
                      case "img":
                        s.src && (n.src = s.src);
                    }
                  }
                  break;
                case 6:
                case 4:
                case 12:
                  break;
                case 13:
                  if (null === t.memoizedState) {
                    var c = t.alternate;
                    if (null !== c) {
                      var f = c.memoizedState;
                      if (null !== f) {
                        var d = f.dehydrated;
                        null !== d && Mt(d);
                      }
                    }
                  }
                  break;
                case 19:
                case 17:
                case 21:
                case 22:
                case 23:
                case 25:
                  break;
                default:
                  throw Error(a(163));
              }
            Ul || (512 & t.flags && Yl(t));
          } catch (p) {
            hs(t, t.return, p);
          }
        }
        if (t === e) {
          Bl = null;
          break;
        }
        if (null !== (n = t.sibling)) {
          (n.return = t.return), (Bl = n);
          break;
        }
        Bl = t.return;
      }
    }
    function fu(e) {
      for (; null !== Bl; ) {
        var t = Bl;
        if (t === e) {
          Bl = null;
          break;
        }
        var n = t.sibling;
        if (null !== n) {
          (n.return = t.return), (Bl = n);
          break;
        }
        Bl = t.return;
      }
    }
    function du(e) {
      for (; null !== Bl; ) {
        var t = Bl;
        try {
          switch (t.tag) {
            case 0:
            case 11:
            case 15:
              var n = t.return;
              try {
                Xl(4, t);
              } catch (u) {
                hs(t, n, u);
              }
              break;
            case 1:
              var r = t.stateNode;
              if ("function" === typeof r.componentDidMount) {
                var i = t.return;
                try {
                  r.componentDidMount();
                } catch (u) {
                  hs(t, i, u);
                }
              }
              var a = t.return;
              try {
                Yl(t);
              } catch (u) {
                hs(t, a, u);
              }
              break;
            case 5:
              var o = t.return;
              try {
                Yl(t);
              } catch (u) {
                hs(t, o, u);
              }
          }
        } catch (u) {
          hs(t, t.return, u);
        }
        if (t === e) {
          Bl = null;
          break;
        }
        var l = t.sibling;
        if (null !== l) {
          (l.return = t.return), (Bl = l);
          break;
        }
        Bl = t.return;
      }
    }
    var pu,
      hu = Math.ceil,
      vu = w.ReactCurrentDispatcher,
      gu = w.ReactCurrentOwner,
      mu = w.ReactCurrentBatchConfig,
      yu = 0,
      bu = null,
      wu = null,
      ku = 0,
      xu = 0,
      Su = mi(0),
      _u = 0,
      Cu = null,
      Eu = 0,
      Nu = 0,
      Lu = 0,
      Ou = null,
      Iu = null,
      zu = 0,
      Pu = 1 / 0,
      Tu = null,
      ju = !1,
      Ru = null,
      Au = null,
      Du = !1,
      Fu = null,
      Mu = 0,
      Vu = 0,
      Wu = null,
      $u = -1,
      Uu = 0;
    function Hu() {
      return 0 !== (6 & yu) ? qe() : -1 !== $u ? $u : ($u = qe());
    }
    function Bu(e) {
      return 0 === (1 & e.mode)
        ? 1
        : 0 !== (2 & yu) && 0 !== ku
        ? ku & -ku
        : null !== ua.transition
        ? (0 === Uu && (Uu = dt()), Uu)
        : 0 !== (e = gt)
        ? e
        : (e = void 0 === (e = window.event) ? 16 : Qt(e.type));
    }
    function Gu(e, t, n, r) {
      if (50 < Vu) throw ((Vu = 0), (Wu = null), Error(a(185)));
      ht(e, n, r),
        (0 !== (2 & yu) && e === bu) ||
          (e === bu && (0 === (2 & yu) && (Nu |= n), 4 === _u && Yu(e, ku)),
          Qu(e, r),
          1 === n &&
            0 === yu &&
            0 === (1 & t.mode) &&
            ((Pu = qe() + 500), Pi && Ri()));
    }
    function Qu(e, t) {
      var n = e.callbackNode;
      !(function (e, t) {
        for (
          var n = e.suspendedLanes,
            r = e.pingedLanes,
            i = e.expirationTimes,
            a = e.pendingLanes;
          0 < a;

        ) {
          var o = 31 - rt(a),
            l = 1 << o,
            u = i[o];
          -1 === u
            ? (0 !== (l & n) && 0 === (l & r)) || (i[o] = ct(l, t))
            : u <= t && (e.expiredLanes |= l),
            (a &= ~l);
        }
      })(e, t);
      var r = st(e, e === bu ? ku : 0);
      if (0 === r)
        null !== n && Be(n), (e.callbackNode = null), (e.callbackPriority = 0);
      else if (((t = r & -r), e.callbackPriority !== t)) {
        if ((null != n && Be(n), 1 === t))
          0 === e.tag
            ? (function (e) {
                (Pi = !0), ji(e);
              })(Ju.bind(null, e))
            : ji(Ju.bind(null, e)),
            Zr(function () {
              0 === (6 & yu) && Ri();
            }),
            (n = null);
        else {
          switch (mt(r)) {
            case 1:
              n = Xe;
              break;
            case 4:
              n = Ye;
              break;
            case 16:
              n = Je;
              break;
            case 536870912:
              n = et;
              break;
            default:
              n = Je;
          }
          n = bs(n, qu.bind(null, e));
        }
        (e.callbackPriority = t), (e.callbackNode = n);
      }
    }
    function qu(e, t) {
      if ((($u = -1), (Uu = 0), 0 !== (6 & yu))) throw Error(a(327));
      var n = e.callbackNode;
      if (ds() && e.callbackNode !== n) return null;
      var r = st(e, e === bu ? ku : 0);
      if (0 === r) return null;
      if (0 !== (30 & r) || 0 !== (r & e.expiredLanes) || t) t = os(e, r);
      else {
        t = r;
        var i = yu;
        yu |= 2;
        var o = is();
        for (
          (bu === e && ku === t) || ((Tu = null), (Pu = qe() + 500), ns(e, t));
          ;

        )
          try {
            us();
            break;
          } catch (u) {
            rs(e, u);
          }
        ha(),
          (vu.current = o),
          (yu = i),
          null !== wu ? (t = 0) : ((bu = null), (ku = 0), (t = _u));
      }
      if (0 !== t) {
        if (
          (2 === t && 0 !== (i = ft(e)) && ((r = i), (t = Ku(e, i))), 1 === t)
        )
          throw ((n = Cu), ns(e, 0), Yu(e, r), Qu(e, qe()), n);
        if (6 === t) Yu(e, r);
        else {
          if (
            ((i = e.current.alternate),
            0 === (30 & r) &&
              !(function (e) {
                for (var t = e; ; ) {
                  if (16384 & t.flags) {
                    var n = t.updateQueue;
                    if (null !== n && null !== (n = n.stores))
                      for (var r = 0; r < n.length; r++) {
                        var i = n[r],
                          a = i.getSnapshot;
                        i = i.value;
                        try {
                          if (!tr(a(), i)) return !1;
                        } catch (l) {
                          return !1;
                        }
                      }
                  }
                  if (((n = t.child), 16384 & t.subtreeFlags && null !== n))
                    (n.return = t), (t = n);
                  else {
                    if (t === e) break;
                    for (; null === t.sibling; ) {
                      if (null === t.return || t.return === e) return !0;
                      t = t.return;
                    }
                    (t.sibling.return = t.return), (t = t.sibling);
                  }
                }
                return !0;
              })(i) &&
              (2 === (t = os(e, r)) &&
                0 !== (o = ft(e)) &&
                ((r = o), (t = Ku(e, o))),
              1 === t))
          )
            throw ((n = Cu), ns(e, 0), Yu(e, r), Qu(e, qe()), n);
          switch (((e.finishedWork = i), (e.finishedLanes = r), t)) {
            case 0:
            case 1:
              throw Error(a(345));
            case 2:
              fs(e, Iu, Tu);
              break;
            case 3:
              if (
                (Yu(e, r), (130023424 & r) === r && 10 < (t = zu + 500 - qe()))
              ) {
                if (0 !== st(e, 0)) break;
                if (((i = e.suspendedLanes) & r) !== r) {
                  Hu(), (e.pingedLanes |= e.suspendedLanes & i);
                  break;
                }
                e.timeoutHandle = Xr(fs.bind(null, e, Iu, Tu), t);
                break;
              }
              fs(e, Iu, Tu);
              break;
            case 4:
              if ((Yu(e, r), (4194240 & r) === r)) break;
              for (t = e.eventTimes, i = -1; 0 < r; ) {
                var l = 31 - rt(r);
                (o = 1 << l), (l = t[l]) > i && (i = l), (r &= ~o);
              }
              if (
                ((r = i),
                10 <
                  (r =
                    (120 > (r = qe() - r)
                      ? 120
                      : 480 > r
                      ? 480
                      : 1080 > r
                      ? 1080
                      : 1920 > r
                      ? 1920
                      : 3e3 > r
                      ? 3e3
                      : 4320 > r
                      ? 4320
                      : 1960 * hu(r / 1960)) - r))
              ) {
                e.timeoutHandle = Xr(fs.bind(null, e, Iu, Tu), r);
                break;
              }
              fs(e, Iu, Tu);
              break;
            case 5:
              fs(e, Iu, Tu);
              break;
            default:
              throw Error(a(329));
          }
        }
      }
      return Qu(e, qe()), e.callbackNode === n ? qu.bind(null, e) : null;
    }
    function Ku(e, t) {
      var n = Ou;
      return (
        e.current.memoizedState.isDehydrated && (ns(e, t).flags |= 256),
        2 !== (e = os(e, t)) && ((t = Iu), (Iu = n), null !== t && Xu(t)),
        e
      );
    }
    function Xu(e) {
      null === Iu ? (Iu = e) : Iu.push.apply(Iu, e);
    }
    function Yu(e, t) {
      for (
        t &= ~Lu,
          t &= ~Nu,
          e.suspendedLanes |= t,
          e.pingedLanes &= ~t,
          e = e.expirationTimes;
        0 < t;

      ) {
        var n = 31 - rt(t),
          r = 1 << n;
        (e[n] = -1), (t &= ~r);
      }
    }
    function Ju(e) {
      if (0 !== (6 & yu)) throw Error(a(327));
      ds();
      var t = st(e, 0);
      if (0 === (1 & t)) return Qu(e, qe()), null;
      var n = os(e, t);
      if (0 !== e.tag && 2 === n) {
        var r = ft(e);
        0 !== r && ((t = r), (n = Ku(e, r)));
      }
      if (1 === n) throw ((n = Cu), ns(e, 0), Yu(e, t), Qu(e, qe()), n);
      if (6 === n) throw Error(a(345));
      return (
        (e.finishedWork = e.current.alternate),
        (e.finishedLanes = t),
        fs(e, Iu, Tu),
        Qu(e, qe()),
        null
      );
    }
    function Zu(e, t) {
      var n = yu;
      yu |= 1;
      try {
        return e(t);
      } finally {
        0 === (yu = n) && ((Pu = qe() + 500), Pi && Ri());
      }
    }
    function es(e) {
      null !== Fu && 0 === Fu.tag && 0 === (6 & yu) && ds();
      var t = yu;
      yu |= 1;
      var n = mu.transition,
        r = gt;
      try {
        if (((mu.transition = null), (gt = 1), e)) return e();
      } finally {
        (gt = r), (mu.transition = n), 0 === (6 & (yu = t)) && Ri();
      }
    }
    function ts() {
      (xu = Su.current), yi(Su);
    }
    function ns(e, t) {
      (e.finishedWork = null), (e.finishedLanes = 0);
      var n = e.timeoutHandle;
      if ((-1 !== n && ((e.timeoutHandle = -1), Yr(n)), null !== wu))
        for (n = wu.return; null !== n; ) {
          var r = n;
          switch ((qi(r), r.tag)) {
            case 1:
              null !== (r = r.type.childContextTypes) && void 0 !== r && Ei();
              break;
            case 3:
              Ya(), yi(xi), yi(ki), ro();
              break;
            case 5:
              Za(r);
              break;
            case 4:
              Ya();
              break;
            case 13:
            case 19:
              yi(eo);
              break;
            case 10:
              va(r.type._context);
              break;
            case 22:
            case 23:
              ts();
          }
          n = n.return;
        }
      if (
        ((bu = e),
        (wu = e = Ss(e.current, null)),
        (ku = xu = t),
        (_u = 0),
        (Cu = null),
        (Lu = Nu = Eu = 0),
        (Iu = Ou = null),
        null !== ba)
      ) {
        for (t = 0; t < ba.length; t++)
          if (null !== (r = (n = ba[t]).interleaved)) {
            n.interleaved = null;
            var i = r.next,
              a = n.pending;
            if (null !== a) {
              var o = a.next;
              (a.next = i), (r.next = o);
            }
            n.pending = r;
          }
        ba = null;
      }
      return e;
    }
    function rs(e, t) {
      for (;;) {
        var n = wu;
        try {
          if ((ha(), (io.current = Zo), co)) {
            for (var r = lo.memoizedState; null !== r; ) {
              var i = r.queue;
              null !== i && (i.pending = null), (r = r.next);
            }
            co = !1;
          }
          if (
            ((oo = 0),
            (so = uo = lo = null),
            (fo = !1),
            (po = 0),
            (gu.current = null),
            null === n || null === n.return)
          ) {
            (_u = 1), (Cu = t), (wu = null);
            break;
          }
          e: {
            var o = e,
              l = n.return,
              u = n,
              s = t;
            if (
              ((t = ku),
              (u.flags |= 32768),
              null !== s &&
                "object" === typeof s &&
                "function" === typeof s.then)
            ) {
              var c = s,
                f = u,
                d = f.tag;
              if (0 === (1 & f.mode) && (0 === d || 11 === d || 15 === d)) {
                var p = f.alternate;
                p
                  ? ((f.updateQueue = p.updateQueue),
                    (f.memoizedState = p.memoizedState),
                    (f.lanes = p.lanes))
                  : ((f.updateQueue = null), (f.memoizedState = null));
              }
              var h = cl(l);
              if (null !== h) {
                (h.flags &= -257),
                  fl(h, l, u, 0, t),
                  1 & h.mode && sl(o, c, t),
                  (s = c);
                var v = (t = h).updateQueue;
                if (null === v) {
                  var g = new Set();
                  g.add(s), (t.updateQueue = g);
                } else v.add(s);
                break e;
              }
              if (0 === (1 & t)) {
                sl(o, c, t), as();
                break e;
              }
              s = Error(a(426));
            } else if (Yi && 1 & u.mode) {
              var m = cl(l);
              if (null !== m) {
                0 === (65536 & m.flags) && (m.flags |= 256),
                  fl(m, l, u, 0, t),
                  la(rl(s, u));
                break e;
              }
            }
            (o = s = rl(s, u)),
              4 !== _u && (_u = 2),
              null === Ou ? (Ou = [o]) : Ou.push(o),
              (o = l);
            do {
              switch (o.tag) {
                case 3:
                  (o.flags |= 65536),
                    (t &= -t),
                    (o.lanes |= t),
                    Oa(o, ll(0, s, t));
                  break e;
                case 1:
                  u = s;
                  var y = o.type,
                    b = o.stateNode;
                  if (
                    0 === (128 & o.flags) &&
                    ("function" === typeof y.getDerivedStateFromError ||
                      (null !== b &&
                        "function" === typeof b.componentDidCatch &&
                        (null === Au || !Au.has(b))))
                  ) {
                    (o.flags |= 65536),
                      (t &= -t),
                      (o.lanes |= t),
                      Oa(o, ul(o, u, t));
                    break e;
                  }
              }
              o = o.return;
            } while (null !== o);
          }
          cs(n);
        } catch (w) {
          (t = w), wu === n && null !== n && (wu = n = n.return);
          continue;
        }
        break;
      }
    }
    function is() {
      var e = vu.current;
      return (vu.current = Zo), null === e ? Zo : e;
    }
    function as() {
      (0 !== _u && 3 !== _u && 2 !== _u) || (_u = 4),
        null === bu ||
          (0 === (268435455 & Eu) && 0 === (268435455 & Nu)) ||
          Yu(bu, ku);
    }
    function os(e, t) {
      var n = yu;
      yu |= 2;
      var r = is();
      for ((bu === e && ku === t) || ((Tu = null), ns(e, t)); ; )
        try {
          ls();
          break;
        } catch (i) {
          rs(e, i);
        }
      if ((ha(), (yu = n), (vu.current = r), null !== wu)) throw Error(a(261));
      return (bu = null), (ku = 0), _u;
    }
    function ls() {
      for (; null !== wu; ) ss(wu);
    }
    function us() {
      for (; null !== wu && !Ge(); ) ss(wu);
    }
    function ss(e) {
      var t = pu(e.alternate, e, xu);
      (e.memoizedProps = e.pendingProps),
        null === t ? cs(e) : (wu = t),
        (gu.current = null);
    }
    function cs(e) {
      var t = e;
      do {
        var n = t.alternate;
        if (((e = t.return), 0 === (32768 & t.flags))) {
          if (null !== (n = Vl(n, t, xu))) return void (wu = n);
        } else {
          if (null !== (n = Wl(n, t))) return (n.flags &= 32767), void (wu = n);
          if (null === e) return (_u = 6), void (wu = null);
          (e.flags |= 32768), (e.subtreeFlags = 0), (e.deletions = null);
        }
        if (null !== (t = t.sibling)) return void (wu = t);
        wu = t = e;
      } while (null !== t);
      0 === _u && (_u = 5);
    }
    function fs(e, t, n) {
      var r = gt,
        i = mu.transition;
      try {
        (mu.transition = null),
          (gt = 1),
          (function (e, t, n, r) {
            do {
              ds();
            } while (null !== Fu);
            if (0 !== (6 & yu)) throw Error(a(327));
            n = e.finishedWork;
            var i = e.finishedLanes;
            if (null === n) return null;
            if (
              ((e.finishedWork = null), (e.finishedLanes = 0), n === e.current)
            )
              throw Error(a(177));
            (e.callbackNode = null), (e.callbackPriority = 0);
            var o = n.lanes | n.childLanes;
            if (
              ((function (e, t) {
                var n = e.pendingLanes & ~t;
                (e.pendingLanes = t),
                  (e.suspendedLanes = 0),
                  (e.pingedLanes = 0),
                  (e.expiredLanes &= t),
                  (e.mutableReadLanes &= t),
                  (e.entangledLanes &= t),
                  (t = e.entanglements);
                var r = e.eventTimes;
                for (e = e.expirationTimes; 0 < n; ) {
                  var i = 31 - rt(n),
                    a = 1 << i;
                  (t[i] = 0), (r[i] = -1), (e[i] = -1), (n &= ~a);
                }
              })(e, o),
              e === bu && ((wu = bu = null), (ku = 0)),
              (0 === (2064 & n.subtreeFlags) && 0 === (2064 & n.flags)) ||
                Du ||
                ((Du = !0),
                bs(Je, function () {
                  return ds(), null;
                })),
              (o = 0 !== (15990 & n.flags)),
              0 !== (15990 & n.subtreeFlags) || o)
            ) {
              (o = mu.transition), (mu.transition = null);
              var l = gt;
              gt = 1;
              var u = yu;
              (yu |= 4),
                (gu.current = null),
                (function (e, t) {
                  if (((Qr = Wt), or((e = ar())))) {
                    if ("selectionStart" in e)
                      var n = { start: e.selectionStart, end: e.selectionEnd };
                    else
                      e: {
                        var r =
                          (n =
                            ((n = e.ownerDocument) && n.defaultView) || window)
                            .getSelection && n.getSelection();
                        if (r && 0 !== r.rangeCount) {
                          n = r.anchorNode;
                          var i = r.anchorOffset,
                            o = r.focusNode;
                          r = r.focusOffset;
                          try {
                            n.nodeType, o.nodeType;
                          } catch (k) {
                            n = null;
                            break e;
                          }
                          var l = 0,
                            u = -1,
                            s = -1,
                            c = 0,
                            f = 0,
                            d = e,
                            p = null;
                          t: for (;;) {
                            for (
                              var h;
                              d !== n ||
                                (0 !== i && 3 !== d.nodeType) ||
                                (u = l + i),
                                d !== o ||
                                  (0 !== r && 3 !== d.nodeType) ||
                                  (s = l + r),
                                3 === d.nodeType && (l += d.nodeValue.length),
                                null !== (h = d.firstChild);

                            )
                              (p = d), (d = h);
                            for (;;) {
                              if (d === e) break t;
                              if (
                                (p === n && ++c === i && (u = l),
                                p === o && ++f === r && (s = l),
                                null !== (h = d.nextSibling))
                              )
                                break;
                              p = (d = p).parentNode;
                            }
                            d = h;
                          }
                          n =
                            -1 === u || -1 === s ? null : { start: u, end: s };
                        } else n = null;
                      }
                    n = n || { start: 0, end: 0 };
                  } else n = null;
                  for (
                    qr = { focusedElem: e, selectionRange: n }, Wt = !1, Bl = t;
                    null !== Bl;

                  )
                    if (
                      ((e = (t = Bl).child),
                      0 !== (1028 & t.subtreeFlags) && null !== e)
                    )
                      (e.return = t), (Bl = e);
                    else
                      for (; null !== Bl; ) {
                        t = Bl;
                        try {
                          var v = t.alternate;
                          if (0 !== (1024 & t.flags))
                            switch (t.tag) {
                              case 0:
                              case 11:
                              case 15:
                                break;
                              case 1:
                                if (null !== v) {
                                  var g = v.memoizedProps,
                                    m = v.memoizedState,
                                    y = t.stateNode,
                                    b = y.getSnapshotBeforeUpdate(
                                      t.elementType === t.type
                                        ? g
                                        : sa(t.type, g),
                                      m
                                    );
                                  y.__reactInternalSnapshotBeforeUpdate = b;
                                }
                                break;
                              case 3:
                                var w = t.stateNode.containerInfo;
                                1 === w.nodeType
                                  ? (w.textContent = "")
                                  : 9 === w.nodeType &&
                                    w.documentElement &&
                                    w.removeChild(w.documentElement);
                                break;
                              case 5:
                              case 6:
                              case 4:
                              case 17:
                                break;
                              default:
                                throw Error(a(163));
                            }
                        } catch (k) {
                          hs(t, t.return, k);
                        }
                        if (null !== (e = t.sibling)) {
                          (e.return = t.return), (Bl = e);
                          break;
                        }
                        Bl = t.return;
                      }
                  (v = ql), (ql = !1);
                })(e, n),
                lu(n, e),
                lr(qr),
                (Wt = !!Qr),
                (qr = Qr = null),
                (e.current = n),
                su(n, e, i),
                Qe(),
                (yu = u),
                (gt = l),
                (mu.transition = o);
            } else e.current = n;
            if (
              (Du && ((Du = !1), (Fu = e), (Mu = i)),
              0 === (o = e.pendingLanes) && (Au = null),
              (function (e) {
                if (nt && "function" === typeof nt.onCommitFiberRoot)
                  try {
                    nt.onCommitFiberRoot(
                      tt,
                      e,
                      void 0,
                      128 === (128 & e.current.flags)
                    );
                  } catch (t) {}
              })(n.stateNode),
              Qu(e, qe()),
              null !== t)
            )
              for (r = e.onRecoverableError, n = 0; n < t.length; n++)
                (i = t[n]),
                  r(i.value, { componentStack: i.stack, digest: i.digest });
            if (ju) throw ((ju = !1), (e = Ru), (Ru = null), e);
            0 !== (1 & Mu) && 0 !== e.tag && ds(),
              0 !== (1 & (o = e.pendingLanes))
                ? e === Wu
                  ? Vu++
                  : ((Vu = 0), (Wu = e))
                : (Vu = 0),
              Ri();
          })(e, t, n, r);
      } finally {
        (mu.transition = i), (gt = r);
      }
      return null;
    }
    function ds() {
      if (null !== Fu) {
        var e = mt(Mu),
          t = mu.transition,
          n = gt;
        try {
          if (((mu.transition = null), (gt = 16 > e ? 16 : e), null === Fu))
            var r = !1;
          else {
            if (((e = Fu), (Fu = null), (Mu = 0), 0 !== (6 & yu)))
              throw Error(a(331));
            var i = yu;
            for (yu |= 4, Bl = e.current; null !== Bl; ) {
              var o = Bl,
                l = o.child;
              if (0 !== (16 & Bl.flags)) {
                var u = o.deletions;
                if (null !== u) {
                  for (var s = 0; s < u.length; s++) {
                    var c = u[s];
                    for (Bl = c; null !== Bl; ) {
                      var f = Bl;
                      switch (f.tag) {
                        case 0:
                        case 11:
                        case 15:
                          Kl(8, f, o);
                      }
                      var d = f.child;
                      if (null !== d) (d.return = f), (Bl = d);
                      else
                        for (; null !== Bl; ) {
                          var p = (f = Bl).sibling,
                            h = f.return;
                          if ((Jl(f), f === c)) {
                            Bl = null;
                            break;
                          }
                          if (null !== p) {
                            (p.return = h), (Bl = p);
                            break;
                          }
                          Bl = h;
                        }
                    }
                  }
                  var v = o.alternate;
                  if (null !== v) {
                    var g = v.child;
                    if (null !== g) {
                      v.child = null;
                      do {
                        var m = g.sibling;
                        (g.sibling = null), (g = m);
                      } while (null !== g);
                    }
                  }
                  Bl = o;
                }
              }
              if (0 !== (2064 & o.subtreeFlags) && null !== l)
                (l.return = o), (Bl = l);
              else
                e: for (; null !== Bl; ) {
                  if (0 !== (2048 & (o = Bl).flags))
                    switch (o.tag) {
                      case 0:
                      case 11:
                      case 15:
                        Kl(9, o, o.return);
                    }
                  var y = o.sibling;
                  if (null !== y) {
                    (y.return = o.return), (Bl = y);
                    break e;
                  }
                  Bl = o.return;
                }
            }
            var b = e.current;
            for (Bl = b; null !== Bl; ) {
              var w = (l = Bl).child;
              if (0 !== (2064 & l.subtreeFlags) && null !== w)
                (w.return = l), (Bl = w);
              else
                e: for (l = b; null !== Bl; ) {
                  if (0 !== (2048 & (u = Bl).flags))
                    try {
                      switch (u.tag) {
                        case 0:
                        case 11:
                        case 15:
                          Xl(9, u);
                      }
                    } catch (x) {
                      hs(u, u.return, x);
                    }
                  if (u === l) {
                    Bl = null;
                    break e;
                  }
                  var k = u.sibling;
                  if (null !== k) {
                    (k.return = u.return), (Bl = k);
                    break e;
                  }
                  Bl = u.return;
                }
            }
            if (
              ((yu = i),
              Ri(),
              nt && "function" === typeof nt.onPostCommitFiberRoot)
            )
              try {
                nt.onPostCommitFiberRoot(tt, e);
              } catch (x) {}
            r = !0;
          }
          return r;
        } finally {
          (gt = n), (mu.transition = t);
        }
      }
      return !1;
    }
    function ps(e, t, n) {
      (e = Na(e, (t = ll(0, (t = rl(n, t)), 1)), 1)),
        (t = Hu()),
        null !== e && (ht(e, 1, t), Qu(e, t));
    }
    function hs(e, t, n) {
      if (3 === e.tag) ps(e, e, n);
      else
        for (; null !== t; ) {
          if (3 === t.tag) {
            ps(t, e, n);
            break;
          }
          if (1 === t.tag) {
            var r = t.stateNode;
            if (
              "function" === typeof t.type.getDerivedStateFromError ||
              ("function" === typeof r.componentDidCatch &&
                (null === Au || !Au.has(r)))
            ) {
              (t = Na(t, (e = ul(t, (e = rl(n, e)), 1)), 1)),
                (e = Hu()),
                null !== t && (ht(t, 1, e), Qu(t, e));
              break;
            }
          }
          t = t.return;
        }
    }
    function vs(e, t, n) {
      var r = e.pingCache;
      null !== r && r.delete(t),
        (t = Hu()),
        (e.pingedLanes |= e.suspendedLanes & n),
        bu === e &&
          (ku & n) === n &&
          (4 === _u || (3 === _u && (130023424 & ku) === ku && 500 > qe() - zu)
            ? ns(e, 0)
            : (Lu |= n)),
        Qu(e, t);
    }
    function gs(e, t) {
      0 === t &&
        (0 === (1 & e.mode)
          ? (t = 1)
          : ((t = lt), 0 === (130023424 & (lt <<= 1)) && (lt = 4194304)));
      var n = Hu();
      null !== (e = xa(e, t)) && (ht(e, t, n), Qu(e, n));
    }
    function ms(e) {
      var t = e.memoizedState,
        n = 0;
      null !== t && (n = t.retryLane), gs(e, n);
    }
    function ys(e, t) {
      var n = 0;
      switch (e.tag) {
        case 13:
          var r = e.stateNode,
            i = e.memoizedState;
          null !== i && (n = i.retryLane);
          break;
        case 19:
          r = e.stateNode;
          break;
        default:
          throw Error(a(314));
      }
      null !== r && r.delete(t), gs(e, n);
    }
    function bs(e, t) {
      return He(e, t);
    }
    function ws(e, t, n, r) {
      (this.tag = e),
        (this.key = n),
        (this.sibling =
          this.child =
          this.return =
          this.stateNode =
          this.type =
          this.elementType =
            null),
        (this.index = 0),
        (this.ref = null),
        (this.pendingProps = t),
        (this.dependencies =
          this.memoizedState =
          this.updateQueue =
          this.memoizedProps =
            null),
        (this.mode = r),
        (this.subtreeFlags = this.flags = 0),
        (this.deletions = null),
        (this.childLanes = this.lanes = 0),
        (this.alternate = null);
    }
    function ks(e, t, n, r) {
      return new ws(e, t, n, r);
    }
    function xs(e) {
      return !(!(e = e.prototype) || !e.isReactComponent);
    }
    function Ss(e, t) {
      var n = e.alternate;
      return (
        null === n
          ? (((n = ks(e.tag, t, e.key, e.mode)).elementType = e.elementType),
            (n.type = e.type),
            (n.stateNode = e.stateNode),
            (n.alternate = e),
            (e.alternate = n))
          : ((n.pendingProps = t),
            (n.type = e.type),
            (n.flags = 0),
            (n.subtreeFlags = 0),
            (n.deletions = null)),
        (n.flags = 14680064 & e.flags),
        (n.childLanes = e.childLanes),
        (n.lanes = e.lanes),
        (n.child = e.child),
        (n.memoizedProps = e.memoizedProps),
        (n.memoizedState = e.memoizedState),
        (n.updateQueue = e.updateQueue),
        (t = e.dependencies),
        (n.dependencies =
          null === t ? null : { lanes: t.lanes, firstContext: t.firstContext }),
        (n.sibling = e.sibling),
        (n.index = e.index),
        (n.ref = e.ref),
        n
      );
    }
    function _s(e, t, n, r, i, o) {
      var l = 2;
      if (((r = e), "function" === typeof e)) xs(e) && (l = 1);
      else if ("string" === typeof e) l = 5;
      else
        e: switch (e) {
          case S:
            return Cs(n.children, i, o, t);
          case _:
            (l = 8), (i |= 8);
            break;
          case C:
            return (
              ((e = ks(12, n, t, 2 | i)).elementType = C), (e.lanes = o), e
            );
          case O:
            return ((e = ks(13, n, t, i)).elementType = O), (e.lanes = o), e;
          case I:
            return ((e = ks(19, n, t, i)).elementType = I), (e.lanes = o), e;
          case T:
            return Es(n, i, o, t);
          default:
            if ("object" === typeof e && null !== e)
              switch (e.$$typeof) {
                case E:
                  l = 10;
                  break e;
                case N:
                  l = 9;
                  break e;
                case L:
                  l = 11;
                  break e;
                case z:
                  l = 14;
                  break e;
                case P:
                  (l = 16), (r = null);
                  break e;
              }
            throw Error(a(130, null == e ? e : typeof e, ""));
        }
      return (
        ((t = ks(l, n, t, i)).elementType = e), (t.type = r), (t.lanes = o), t
      );
    }
    function Cs(e, t, n, r) {
      return ((e = ks(7, e, r, t)).lanes = n), e;
    }
    function Es(e, t, n, r) {
      return (
        ((e = ks(22, e, r, t)).elementType = T),
        (e.lanes = n),
        (e.stateNode = { isHidden: !1 }),
        e
      );
    }
    function Ns(e, t, n) {
      return ((e = ks(6, e, null, t)).lanes = n), e;
    }
    function Ls(e, t, n) {
      return (
        ((t = ks(4, null !== e.children ? e.children : [], e.key, t)).lanes =
          n),
        (t.stateNode = {
          containerInfo: e.containerInfo,
          pendingChildren: null,
          implementation: e.implementation,
        }),
        t
      );
    }
    function Os(e, t, n, r, i) {
      (this.tag = t),
        (this.containerInfo = e),
        (this.finishedWork =
          this.pingCache =
          this.current =
          this.pendingChildren =
            null),
        (this.timeoutHandle = -1),
        (this.callbackNode = this.pendingContext = this.context = null),
        (this.callbackPriority = 0),
        (this.eventTimes = pt(0)),
        (this.expirationTimes = pt(-1)),
        (this.entangledLanes =
          this.finishedLanes =
          this.mutableReadLanes =
          this.expiredLanes =
          this.pingedLanes =
          this.suspendedLanes =
          this.pendingLanes =
            0),
        (this.entanglements = pt(0)),
        (this.identifierPrefix = r),
        (this.onRecoverableError = i),
        (this.mutableSourceEagerHydrationData = null);
    }
    function Is(e, t, n, r, i, a, o, l, u) {
      return (
        (e = new Os(e, t, n, l, u)),
        1 === t ? ((t = 1), !0 === a && (t |= 8)) : (t = 0),
        (a = ks(3, null, null, t)),
        (e.current = a),
        (a.stateNode = e),
        (a.memoizedState = {
          element: r,
          isDehydrated: n,
          cache: null,
          transitions: null,
          pendingSuspenseBoundaries: null,
        }),
        _a(a),
        e
      );
    }
    function zs(e, t, n) {
      var r =
        3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
      return {
        $$typeof: x,
        key: null == r ? null : "" + r,
        children: e,
        containerInfo: t,
        implementation: n,
      };
    }
    function Ps(e) {
      if (!e) return wi;
      e: {
        if (Ve((e = e._reactInternals)) !== e || 1 !== e.tag)
          throw Error(a(170));
        var t = e;
        do {
          switch (t.tag) {
            case 3:
              t = t.stateNode.context;
              break e;
            case 1:
              if (Ci(t.type)) {
                t = t.stateNode.__reactInternalMemoizedMergedChildContext;
                break e;
              }
          }
          t = t.return;
        } while (null !== t);
        throw Error(a(171));
      }
      if (1 === e.tag) {
        var n = e.type;
        if (Ci(n)) return Li(e, n, t);
      }
      return t;
    }
    function Ts(e, t, n, r, i, a, o, l, u) {
      return (
        ((e = Is(n, r, !0, e, 0, a, 0, l, u)).context = Ps(null)),
        (n = e.current),
        ((a = Ea((r = Hu()), (i = Bu(n)))).callback =
          void 0 !== t && null !== t ? t : null),
        Na(n, a, i),
        (e.current.lanes = i),
        ht(e, i, r),
        Qu(e, r),
        e
      );
    }
    function js(e, t, n, r) {
      var i = t.current,
        a = Hu(),
        o = Bu(i);
      return (
        (n = Ps(n)),
        null === t.context ? (t.context = n) : (t.pendingContext = n),
        ((t = Ea(a, o)).payload = { element: e }),
        null !== (r = void 0 === r ? null : r) && (t.callback = r),
        null !== (e = Na(i, t, o)) && (Gu(e, i, o, a), La(e, i, o)),
        o
      );
    }
    function Rs(e) {
      if (!(e = e.current).child) return null;
      switch (e.child.tag) {
        case 5:
        default:
          return e.child.stateNode;
      }
    }
    function As(e, t) {
      if (null !== (e = e.memoizedState) && null !== e.dehydrated) {
        var n = e.retryLane;
        e.retryLane = 0 !== n && n < t ? n : t;
      }
    }
    function Ds(e, t) {
      As(e, t), (e = e.alternate) && As(e, t);
    }
    pu = function (e, t, n) {
      if (null !== e)
        if (e.memoizedProps !== t.pendingProps || xi.current) pl = !0;
        else {
          if (0 === (e.lanes & n) && 0 === (128 & t.flags))
            return (
              (pl = !1),
              (function (e, t, n) {
                switch (t.tag) {
                  case 3:
                    Sl(t), oa();
                    break;
                  case 5:
                    Ja(t);
                    break;
                  case 1:
                    Ci(t.type) && Oi(t);
                    break;
                  case 4:
                    Xa(t, t.stateNode.containerInfo);
                    break;
                  case 10:
                    var r = t.type._context,
                      i = t.memoizedProps.value;
                    bi(ca, r._currentValue), (r._currentValue = i);
                    break;
                  case 13:
                    if (null !== (r = t.memoizedState))
                      return null !== r.dehydrated
                        ? (bi(eo, 1 & eo.current), (t.flags |= 128), null)
                        : 0 !== (n & t.child.childLanes)
                        ? Il(e, t, n)
                        : (bi(eo, 1 & eo.current),
                          null !== (e = Dl(e, t, n)) ? e.sibling : null);
                    bi(eo, 1 & eo.current);
                    break;
                  case 19:
                    if (
                      ((r = 0 !== (n & t.childLanes)), 0 !== (128 & e.flags))
                    ) {
                      if (r) return Rl(e, t, n);
                      t.flags |= 128;
                    }
                    if (
                      (null !== (i = t.memoizedState) &&
                        ((i.rendering = null),
                        (i.tail = null),
                        (i.lastEffect = null)),
                      bi(eo, eo.current),
                      r)
                    )
                      break;
                    return null;
                  case 22:
                  case 23:
                    return (t.lanes = 0), yl(e, t, n);
                }
                return Dl(e, t, n);
              })(e, t, n)
            );
          pl = 0 !== (131072 & e.flags);
        }
      else (pl = !1), Yi && 0 !== (1048576 & t.flags) && Gi(t, Mi, t.index);
      switch (((t.lanes = 0), t.tag)) {
        case 2:
          var r = t.type;
          Al(e, t), (e = t.pendingProps);
          var i = _i(t, ki.current);
          ma(t, n), (i = mo(null, t, r, e, i, n));
          var o = yo();
          return (
            (t.flags |= 1),
            "object" === typeof i &&
            null !== i &&
            "function" === typeof i.render &&
            void 0 === i.$$typeof
              ? ((t.tag = 1),
                (t.memoizedState = null),
                (t.updateQueue = null),
                Ci(r) ? ((o = !0), Oi(t)) : (o = !1),
                (t.memoizedState =
                  null !== i.state && void 0 !== i.state ? i.state : null),
                _a(t),
                (i.updater = ja),
                (t.stateNode = i),
                (i._reactInternals = t),
                Fa(t, r, e, n),
                (t = xl(null, t, r, !0, o, n)))
              : ((t.tag = 0),
                Yi && o && Qi(t),
                hl(null, t, i, n),
                (t = t.child)),
            t
          );
        case 16:
          r = t.elementType;
          e: {
            switch (
              (Al(e, t),
              (e = t.pendingProps),
              (r = (i = r._init)(r._payload)),
              (t.type = r),
              (i = t.tag =
                (function (e) {
                  if ("function" === typeof e) return xs(e) ? 1 : 0;
                  if (void 0 !== e && null !== e) {
                    if ((e = e.$$typeof) === L) return 11;
                    if (e === z) return 14;
                  }
                  return 2;
                })(r)),
              (e = sa(r, e)),
              i)
            ) {
              case 0:
                t = wl(null, t, r, e, n);
                break e;
              case 1:
                t = kl(null, t, r, e, n);
                break e;
              case 11:
                t = vl(null, t, r, e, n);
                break e;
              case 14:
                t = gl(null, t, r, sa(r.type, e), n);
                break e;
            }
            throw Error(a(306, r, ""));
          }
          return t;
        case 0:
          return (
            (r = t.type),
            (i = t.pendingProps),
            wl(e, t, r, (i = t.elementType === r ? i : sa(r, i)), n)
          );
        case 1:
          return (
            (r = t.type),
            (i = t.pendingProps),
            kl(e, t, r, (i = t.elementType === r ? i : sa(r, i)), n)
          );
        case 3:
          e: {
            if ((Sl(t), null === e)) throw Error(a(387));
            (r = t.pendingProps),
              (i = (o = t.memoizedState).element),
              Ca(e, t),
              Ia(t, r, null, n);
            var l = t.memoizedState;
            if (((r = l.element), o.isDehydrated)) {
              if (
                ((o = {
                  element: r,
                  isDehydrated: !1,
                  cache: l.cache,
                  pendingSuspenseBoundaries: l.pendingSuspenseBoundaries,
                  transitions: l.transitions,
                }),
                (t.updateQueue.baseState = o),
                (t.memoizedState = o),
                256 & t.flags)
              ) {
                t = _l(e, t, r, n, (i = rl(Error(a(423)), t)));
                break e;
              }
              if (r !== i) {
                t = _l(e, t, r, n, (i = rl(Error(a(424)), t)));
                break e;
              }
              for (
                Xi = ni(t.stateNode.containerInfo.firstChild),
                  Ki = t,
                  Yi = !0,
                  Ji = null,
                  n = Ha(t, null, r, n),
                  t.child = n;
                n;

              )
                (n.flags = (-3 & n.flags) | 4096), (n = n.sibling);
            } else {
              if ((oa(), r === i)) {
                t = Dl(e, t, n);
                break e;
              }
              hl(e, t, r, n);
            }
            t = t.child;
          }
          return t;
        case 5:
          return (
            Ja(t),
            null === e && na(t),
            (r = t.type),
            (i = t.pendingProps),
            (o = null !== e ? e.memoizedProps : null),
            (l = i.children),
            Kr(r, i) ? (l = null) : null !== o && Kr(r, o) && (t.flags |= 32),
            bl(e, t),
            hl(e, t, l, n),
            t.child
          );
        case 6:
          return null === e && na(t), null;
        case 13:
          return Il(e, t, n);
        case 4:
          return (
            Xa(t, t.stateNode.containerInfo),
            (r = t.pendingProps),
            null === e ? (t.child = Ua(t, null, r, n)) : hl(e, t, r, n),
            t.child
          );
        case 11:
          return (
            (r = t.type),
            (i = t.pendingProps),
            vl(e, t, r, (i = t.elementType === r ? i : sa(r, i)), n)
          );
        case 7:
          return hl(e, t, t.pendingProps, n), t.child;
        case 8:
        case 12:
          return hl(e, t, t.pendingProps.children, n), t.child;
        case 10:
          e: {
            if (
              ((r = t.type._context),
              (i = t.pendingProps),
              (o = t.memoizedProps),
              (l = i.value),
              bi(ca, r._currentValue),
              (r._currentValue = l),
              null !== o)
            )
              if (tr(o.value, l)) {
                if (o.children === i.children && !xi.current) {
                  t = Dl(e, t, n);
                  break e;
                }
              } else
                for (null !== (o = t.child) && (o.return = t); null !== o; ) {
                  var u = o.dependencies;
                  if (null !== u) {
                    l = o.child;
                    for (var s = u.firstContext; null !== s; ) {
                      if (s.context === r) {
                        if (1 === o.tag) {
                          (s = Ea(-1, n & -n)).tag = 2;
                          var c = o.updateQueue;
                          if (null !== c) {
                            var f = (c = c.shared).pending;
                            null === f
                              ? (s.next = s)
                              : ((s.next = f.next), (f.next = s)),
                              (c.pending = s);
                          }
                        }
                        (o.lanes |= n),
                          null !== (s = o.alternate) && (s.lanes |= n),
                          ga(o.return, n, t),
                          (u.lanes |= n);
                        break;
                      }
                      s = s.next;
                    }
                  } else if (10 === o.tag)
                    l = o.type === t.type ? null : o.child;
                  else if (18 === o.tag) {
                    if (null === (l = o.return)) throw Error(a(341));
                    (l.lanes |= n),
                      null !== (u = l.alternate) && (u.lanes |= n),
                      ga(l, n, t),
                      (l = o.sibling);
                  } else l = o.child;
                  if (null !== l) l.return = o;
                  else
                    for (l = o; null !== l; ) {
                      if (l === t) {
                        l = null;
                        break;
                      }
                      if (null !== (o = l.sibling)) {
                        (o.return = l.return), (l = o);
                        break;
                      }
                      l = l.return;
                    }
                  o = l;
                }
            hl(e, t, i.children, n), (t = t.child);
          }
          return t;
        case 9:
          return (
            (i = t.type),
            (r = t.pendingProps.children),
            ma(t, n),
            (r = r((i = ya(i)))),
            (t.flags |= 1),
            hl(e, t, r, n),
            t.child
          );
        case 14:
          return (
            (i = sa((r = t.type), t.pendingProps)),
            gl(e, t, r, (i = sa(r.type, i)), n)
          );
        case 15:
          return ml(e, t, t.type, t.pendingProps, n);
        case 17:
          return (
            (r = t.type),
            (i = t.pendingProps),
            (i = t.elementType === r ? i : sa(r, i)),
            Al(e, t),
            (t.tag = 1),
            Ci(r) ? ((e = !0), Oi(t)) : (e = !1),
            ma(t, n),
            Aa(t, r, i),
            Fa(t, r, i, n),
            xl(null, t, r, !0, e, n)
          );
        case 19:
          return Rl(e, t, n);
        case 22:
          return yl(e, t, n);
      }
      throw Error(a(156, t.tag));
    };
    var Fs =
      "function" === typeof reportError
        ? reportError
        : function (e) {
            console.error(e);
          };
    function Ms(e) {
      this._internalRoot = e;
    }
    function Vs(e) {
      this._internalRoot = e;
    }
    function Ws(e) {
      return !(
        !e ||
        (1 !== e.nodeType && 9 !== e.nodeType && 11 !== e.nodeType)
      );
    }
    function $s(e) {
      return !(
        !e ||
        (1 !== e.nodeType &&
          9 !== e.nodeType &&
          11 !== e.nodeType &&
          (8 !== e.nodeType || " react-mount-point-unstable " !== e.nodeValue))
      );
    }
    function Us() {}
    function Hs(e, t, n, r, i) {
      var a = n._reactRootContainer;
      if (a) {
        var o = a;
        if ("function" === typeof i) {
          var l = i;
          i = function () {
            var e = Rs(o);
            l.call(e);
          };
        }
        js(t, o, e, i);
      } else
        o = (function (e, t, n, r, i) {
          if (i) {
            if ("function" === typeof r) {
              var a = r;
              r = function () {
                var e = Rs(o);
                a.call(e);
              };
            }
            var o = Ts(t, r, e, 0, null, !1, 0, "", Us);
            return (
              (e._reactRootContainer = o),
              (e[li] = o.current),
              Rr(8 === e.nodeType ? e.parentNode : e),
              es(),
              o
            );
          }
          for (; (i = e.lastChild); ) e.removeChild(i);
          if ("function" === typeof r) {
            var l = r;
            r = function () {
              var e = Rs(u);
              l.call(e);
            };
          }
          var u = Is(e, 0, !1, null, 0, !1, 0, "", Us);
          return (
            (e._reactRootContainer = u),
            (e[li] = u.current),
            Rr(8 === e.nodeType ? e.parentNode : e),
            es(function () {
              js(t, u, n, r);
            }),
            u
          );
        })(n, t, e, i, r);
      return Rs(o);
    }
    (Vs.prototype.render = Ms.prototype.render =
      function (e) {
        var t = this._internalRoot;
        if (null === t) throw Error(a(409));
        js(e, t, null, null);
      }),
      (Vs.prototype.unmount = Ms.prototype.unmount =
        function () {
          var e = this._internalRoot;
          if (null !== e) {
            this._internalRoot = null;
            var t = e.containerInfo;
            es(function () {
              js(null, e, null, null);
            }),
              (t[li] = null);
          }
        }),
      (Vs.prototype.unstable_scheduleHydration = function (e) {
        if (e) {
          var t = kt();
          e = { blockedOn: null, target: e, priority: t };
          for (var n = 0; n < It.length && 0 !== t && t < It[n].priority; n++);
          It.splice(n, 0, e), 0 === n && jt(e);
        }
      }),
      (yt = function (e) {
        switch (e.tag) {
          case 3:
            var t = e.stateNode;
            if (t.current.memoizedState.isDehydrated) {
              var n = ut(t.pendingLanes);
              0 !== n &&
                (vt(t, 1 | n),
                Qu(t, qe()),
                0 === (6 & yu) && ((Pu = qe() + 500), Ri()));
            }
            break;
          case 13:
            es(function () {
              var t = xa(e, 1);
              if (null !== t) {
                var n = Hu();
                Gu(t, e, 1, n);
              }
            }),
              Ds(e, 1);
        }
      }),
      (bt = function (e) {
        if (13 === e.tag) {
          var t = xa(e, 134217728);
          if (null !== t) Gu(t, e, 134217728, Hu());
          Ds(e, 134217728);
        }
      }),
      (wt = function (e) {
        if (13 === e.tag) {
          var t = Bu(e),
            n = xa(e, t);
          if (null !== n) Gu(n, e, t, Hu());
          Ds(e, t);
        }
      }),
      (kt = function () {
        return gt;
      }),
      (xt = function (e, t) {
        var n = gt;
        try {
          return (gt = e), t();
        } finally {
          gt = n;
        }
      }),
      (we = function (e, t, n) {
        switch (t) {
          case "input":
            if ((Y(e, n), (t = n.name), "radio" === n.type && null != t)) {
              for (n = e; n.parentNode; ) n = n.parentNode;
              for (
                n = n.querySelectorAll(
                  "input[name=" + JSON.stringify("" + t) + '][type="radio"]'
                ),
                  t = 0;
                t < n.length;
                t++
              ) {
                var r = n[t];
                if (r !== e && r.form === e.form) {
                  var i = hi(r);
                  if (!i) throw Error(a(90));
                  G(r), Y(r, i);
                }
              }
            }
            break;
          case "textarea":
            ie(e, n);
            break;
          case "select":
            null != (t = n.value) && te(e, !!n.multiple, t, !1);
        }
      }),
      (Ee = Zu),
      (Ne = es);
    var Bs = { usingClientEntryPoint: !1, Events: [di, pi, hi, _e, Ce, Zu] },
      Gs = {
        findFiberByHostInstance: fi,
        bundleType: 0,
        version: "18.2.0",
        rendererPackageName: "react-dom",
      },
      Qs = {
        bundleType: Gs.bundleType,
        version: Gs.version,
        rendererPackageName: Gs.rendererPackageName,
        rendererConfig: Gs.rendererConfig,
        overrideHookState: null,
        overrideHookStateDeletePath: null,
        overrideHookStateRenamePath: null,
        overrideProps: null,
        overridePropsDeletePath: null,
        overridePropsRenamePath: null,
        setErrorHandler: null,
        setSuspenseHandler: null,
        scheduleUpdate: null,
        currentDispatcherRef: w.ReactCurrentDispatcher,
        findHostInstanceByFiber: function (e) {
          return null === (e = Ue(e)) ? null : e.stateNode;
        },
        findFiberByHostInstance:
          Gs.findFiberByHostInstance ||
          function () {
            return null;
          },
        findHostInstancesForRefresh: null,
        scheduleRefresh: null,
        scheduleRoot: null,
        setRefreshHandler: null,
        getCurrentFiber: null,
        reconcilerVersion: "18.2.0-next-9e3b772b8-20220608",
      };
    if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
      var qs = __REACT_DEVTOOLS_GLOBAL_HOOK__;
      if (!qs.isDisabled && qs.supportsFiber)
        try {
          (tt = qs.inject(Qs)), (nt = qs);
        } catch (Ks) {}
    }
    (t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Bs),
      (t.createPortal = function (e, t) {
        var n =
          2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
        if (!Ws(t)) throw Error(a(200));
        return zs(e, t, null, n);
      }),
      (t.createRoot = function (e, t) {
        if (!Ws(e)) throw Error(a(299));
        var n = !1,
          r = "",
          i = Fs;
        return (
          null !== t &&
            void 0 !== t &&
            (!0 === t.unstable_strictMode && (n = !0),
            void 0 !== t.identifierPrefix && (r = t.identifierPrefix),
            void 0 !== t.onRecoverableError && (i = t.onRecoverableError)),
          (t = Is(e, 1, !1, null, 0, n, 0, r, i)),
          (e[li] = t.current),
          Rr(8 === e.nodeType ? e.parentNode : e),
          new Ms(t)
        );
      }),
      (t.findDOMNode = function (e) {
        if (null == e) return null;
        if (1 === e.nodeType) return e;
        var t = e._reactInternals;
        if (void 0 === t) {
          if ("function" === typeof e.render) throw Error(a(188));
          throw ((e = Object.keys(e).join(",")), Error(a(268, e)));
        }
        return (e = null === (e = Ue(t)) ? null : e.stateNode);
      }),
      (t.flushSync = function (e) {
        return es(e);
      }),
      (t.hydrate = function (e, t, n) {
        if (!$s(t)) throw Error(a(200));
        return Hs(null, e, t, !0, n);
      }),
      (t.hydrateRoot = function (e, t, n) {
        if (!Ws(e)) throw Error(a(405));
        var r = (null != n && n.hydratedSources) || null,
          i = !1,
          o = "",
          l = Fs;
        if (
          (null !== n &&
            void 0 !== n &&
            (!0 === n.unstable_strictMode && (i = !0),
            void 0 !== n.identifierPrefix && (o = n.identifierPrefix),
            void 0 !== n.onRecoverableError && (l = n.onRecoverableError)),
          (t = Ts(t, null, e, 1, null != n ? n : null, i, 0, o, l)),
          (e[li] = t.current),
          Rr(e),
          r)
        )
          for (e = 0; e < r.length; e++)
            (i = (i = (n = r[e])._getVersion)(n._source)),
              null == t.mutableSourceEagerHydrationData
                ? (t.mutableSourceEagerHydrationData = [n, i])
                : t.mutableSourceEagerHydrationData.push(n, i);
        return new Vs(t);
      }),
      (t.render = function (e, t, n) {
        if (!$s(t)) throw Error(a(200));
        return Hs(null, e, t, !1, n);
      }),
      (t.unmountComponentAtNode = function (e) {
        if (!$s(e)) throw Error(a(40));
        return (
          !!e._reactRootContainer &&
          (es(function () {
            Hs(null, null, e, !1, function () {
              (e._reactRootContainer = null), (e[li] = null);
            });
          }),
          !0)
        );
      }),
      (t.unstable_batchedUpdates = Zu),
      (t.unstable_renderSubtreeIntoContainer = function (e, t, n, r) {
        if (!$s(n)) throw Error(a(200));
        if (null == e || void 0 === e._reactInternals) throw Error(a(38));
        return Hs(e, t, n, !1, r);
      }),
      (t.version = "18.2.0-next-9e3b772b8-20220608");
  },
  123: function (e, t, n) {
    "use strict";
    e.exports = n(124);
  },
  124: function (e, t, n) {
    "use strict";
    (function (e) {
      function n(e, t) {
        var n = e.length;
        e.push(t);
        e: for (; 0 < n; ) {
          var r = (n - 1) >>> 1,
            i = e[r];
          if (!(0 < a(i, t))) break e;
          (e[r] = t), (e[n] = i), (n = r);
        }
      }
      function r(e) {
        return 0 === e.length ? null : e[0];
      }
      function i(e) {
        if (0 === e.length) return null;
        var t = e[0],
          n = e.pop();
        if (n !== t) {
          e[0] = n;
          e: for (var r = 0, i = e.length, o = i >>> 1; r < o; ) {
            var l = 2 * (r + 1) - 1,
              u = e[l],
              s = l + 1,
              c = e[s];
            if (0 > a(u, n))
              s < i && 0 > a(c, u)
                ? ((e[r] = c), (e[s] = n), (r = s))
                : ((e[r] = u), (e[l] = n), (r = l));
            else {
              if (!(s < i && 0 > a(c, n))) break e;
              (e[r] = c), (e[s] = n), (r = s);
            }
          }
        }
        return t;
      }
      function a(e, t) {
        var n = e.sortIndex - t.sortIndex;
        return 0 !== n ? n : e.id - t.id;
      }
      if (
        "object" === typeof performance &&
        "function" === typeof performance.now
      ) {
        var o = performance;
        t.unstable_now = function () {
          return o.now();
        };
      } else {
        var l = Date,
          u = l.now();
        t.unstable_now = function () {
          return l.now() - u;
        };
      }
      var s = [],
        c = [],
        f = 1,
        d = null,
        p = 3,
        h = !1,
        v = !1,
        g = !1,
        m = "function" === typeof setTimeout ? setTimeout : null,
        y = "function" === typeof clearTimeout ? clearTimeout : null,
        b = "undefined" !== typeof e ? e : null;
      function w(e) {
        for (var t = r(c); null !== t; ) {
          if (null === t.callback) i(c);
          else {
            if (!(t.startTime <= e)) break;
            i(c), (t.sortIndex = t.expirationTime), n(s, t);
          }
          t = r(c);
        }
      }
      function k(e) {
        if (((g = !1), w(e), !v))
          if (null !== r(s)) (v = !0), T(x);
          else {
            var t = r(c);
            null !== t && j(k, t.startTime - e);
          }
      }
      function x(e, n) {
        (v = !1), g && ((g = !1), y(E), (E = -1)), (h = !0);
        var a = p;
        try {
          for (
            w(n), d = r(s);
            null !== d && (!(d.expirationTime > n) || (e && !O()));

          ) {
            var o = d.callback;
            if ("function" === typeof o) {
              (d.callback = null), (p = d.priorityLevel);
              var l = o(d.expirationTime <= n);
              (n = t.unstable_now()),
                "function" === typeof l ? (d.callback = l) : d === r(s) && i(s),
                w(n);
            } else i(s);
            d = r(s);
          }
          if (null !== d) var u = !0;
          else {
            var f = r(c);
            null !== f && j(k, f.startTime - n), (u = !1);
          }
          return u;
        } finally {
          (d = null), (p = a), (h = !1);
        }
      }
      "undefined" !== typeof navigator &&
        void 0 !== navigator.scheduling &&
        void 0 !== navigator.scheduling.isInputPending &&
        navigator.scheduling.isInputPending.bind(navigator.scheduling);
      var S,
        _ = !1,
        C = null,
        E = -1,
        N = 5,
        L = -1;
      function O() {
        return !(t.unstable_now() - L < N);
      }
      function I() {
        if (null !== C) {
          var e = t.unstable_now();
          L = e;
          var n = !0;
          try {
            n = C(!0, e);
          } finally {
            n ? S() : ((_ = !1), (C = null));
          }
        } else _ = !1;
      }
      if ("function" === typeof b)
        S = function () {
          b(I);
        };
      else if ("undefined" !== typeof MessageChannel) {
        var z = new MessageChannel(),
          P = z.port2;
        (z.port1.onmessage = I),
          (S = function () {
            P.postMessage(null);
          });
      } else
        S = function () {
          m(I, 0);
        };
      function T(e) {
        (C = e), _ || ((_ = !0), S());
      }
      function j(e, n) {
        E = m(function () {
          e(t.unstable_now());
        }, n);
      }
      (t.unstable_IdlePriority = 5),
        (t.unstable_ImmediatePriority = 1),
        (t.unstable_LowPriority = 4),
        (t.unstable_NormalPriority = 3),
        (t.unstable_Profiling = null),
        (t.unstable_UserBlockingPriority = 2),
        (t.unstable_cancelCallback = function (e) {
          e.callback = null;
        }),
        (t.unstable_continueExecution = function () {
          v || h || ((v = !0), T(x));
        }),
        (t.unstable_forceFrameRate = function (e) {
          0 > e || 125 < e
            ? console.error(
                "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
              )
            : (N = 0 < e ? Math.floor(1e3 / e) : 5);
        }),
        (t.unstable_getCurrentPriorityLevel = function () {
          return p;
        }),
        (t.unstable_getFirstCallbackNode = function () {
          return r(s);
        }),
        (t.unstable_next = function (e) {
          switch (p) {
            case 1:
            case 2:
            case 3:
              var t = 3;
              break;
            default:
              t = p;
          }
          var n = p;
          p = t;
          try {
            return e();
          } finally {
            p = n;
          }
        }),
        (t.unstable_pauseExecution = function () {}),
        (t.unstable_requestPaint = function () {}),
        (t.unstable_runWithPriority = function (e, t) {
          switch (e) {
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
              break;
            default:
              e = 3;
          }
          var n = p;
          p = e;
          try {
            return t();
          } finally {
            p = n;
          }
        }),
        (t.unstable_scheduleCallback = function (e, i, a) {
          var o = t.unstable_now();
          switch (
            ("object" === typeof a && null !== a
              ? (a = "number" === typeof (a = a.delay) && 0 < a ? o + a : o)
              : (a = o),
            e)
          ) {
            case 1:
              var l = -1;
              break;
            case 2:
              l = 250;
              break;
            case 5:
              l = 1073741823;
              break;
            case 4:
              l = 1e4;
              break;
            default:
              l = 5e3;
          }
          return (
            (e = {
              id: f++,
              callback: i,
              priorityLevel: e,
              startTime: a,
              expirationTime: (l = a + l),
              sortIndex: -1,
            }),
            a > o
              ? ((e.sortIndex = a),
                n(c, e),
                null === r(s) &&
                  e === r(c) &&
                  (g ? (y(E), (E = -1)) : (g = !0), j(k, a - o)))
              : ((e.sortIndex = l), n(s, e), v || h || ((v = !0), T(x))),
            e
          );
        }),
        (t.unstable_shouldYield = O),
        (t.unstable_wrapCallback = function (e) {
          var t = p;
          return function () {
            var n = p;
            p = t;
            try {
              return e.apply(this, arguments);
            } finally {
              p = n;
            }
          };
        });
    }).call(this, n(125).setImmediate);
  },
  125: function (e, t, n) {
    (function (e) {
      var r =
          ("undefined" !== typeof e && e) ||
          ("undefined" !== typeof self && self) ||
          window,
        i = Function.prototype.apply;
      function a(e, t) {
        (this._id = e), (this._clearFn = t);
      }
      (t.setTimeout = function () {
        return new a(i.call(setTimeout, r, arguments), clearTimeout);
      }),
        (t.setInterval = function () {
          return new a(i.call(setInterval, r, arguments), clearInterval);
        }),
        (t.clearTimeout = t.clearInterval =
          function (e) {
            e && e.close();
          }),
        (a.prototype.unref = a.prototype.ref = function () {}),
        (a.prototype.close = function () {
          this._clearFn.call(r, this._id);
        }),
        (t.enroll = function (e, t) {
          clearTimeout(e._idleTimeoutId), (e._idleTimeout = t);
        }),
        (t.unenroll = function (e) {
          clearTimeout(e._idleTimeoutId), (e._idleTimeout = -1);
        }),
        (t._unrefActive = t.active =
          function (e) {
            clearTimeout(e._idleTimeoutId);
            var t = e._idleTimeout;
            t >= 0 &&
              (e._idleTimeoutId = setTimeout(function () {
                e._onTimeout && e._onTimeout();
              }, t));
          }),
        n(126),
        (t.setImmediate =
          ("undefined" !== typeof self && self.setImmediate) ||
          ("undefined" !== typeof e && e.setImmediate) ||
          (this && this.setImmediate)),
        (t.clearImmediate =
          ("undefined" !== typeof self && self.clearImmediate) ||
          ("undefined" !== typeof e && e.clearImmediate) ||
          (this && this.clearImmediate));
    }).call(this, n(91));
  },
  126: function (e, t, n) {
    (function (e, t) {
      !(function (e, n) {
        "use strict";
        if (!e.setImmediate) {
          var r,
            i = 1,
            a = {},
            o = !1,
            l = e.document,
            u = Object.getPrototypeOf && Object.getPrototypeOf(e);
          (u = u && u.setTimeout ? u : e),
            "[object process]" === {}.toString.call(e.process)
              ? (r = function (e) {
                  t.nextTick(function () {
                    c(e);
                  });
                })
              : (function () {
                  if (e.postMessage && !e.importScripts) {
                    var t = !0,
                      n = e.onmessage;
                    return (
                      (e.onmessage = function () {
                        t = !1;
                      }),
                      e.postMessage("", "*"),
                      (e.onmessage = n),
                      t
                    );
                  }
                })()
              ? (function () {
                  var t = "setImmediate$" + Math.random() + "$",
                    n = function (n) {
                      n.source === e &&
                        "string" === typeof n.data &&
                        0 === n.data.indexOf(t) &&
                        c(+n.data.slice(t.length));
                    };
                  e.addEventListener
                    ? e.addEventListener("message", n, !1)
                    : e.attachEvent("onmessage", n),
                    (r = function (n) {
                      e.postMessage(t + n, "*");
                    });
                })()
              : e.MessageChannel
              ? (function () {
                  var e = new MessageChannel();
                  (e.port1.onmessage = function (e) {
                    c(e.data);
                  }),
                    (r = function (t) {
                      e.port2.postMessage(t);
                    });
                })()
              : l && "onreadystatechange" in l.createElement("script")
              ? (function () {
                  var e = l.documentElement;
                  r = function (t) {
                    var n = l.createElement("script");
                    (n.onreadystatechange = function () {
                      c(t),
                        (n.onreadystatechange = null),
                        e.removeChild(n),
                        (n = null);
                    }),
                      e.appendChild(n);
                  };
                })()
              : (r = function (e) {
                  setTimeout(c, 0, e);
                }),
            (u.setImmediate = function (e) {
              "function" !== typeof e && (e = new Function("" + e));
              for (
                var t = new Array(arguments.length - 1), n = 0;
                n < t.length;
                n++
              )
                t[n] = arguments[n + 1];
              var o = { callback: e, args: t };
              return (a[i] = o), r(i), i++;
            }),
            (u.clearImmediate = s);
        }
        function s(e) {
          delete a[e];
        }
        function c(e) {
          if (o) setTimeout(c, 0, e);
          else {
            var t = a[e];
            if (t) {
              o = !0;
              try {
                !(function (e) {
                  var t = e.callback,
                    n = e.args;
                  switch (n.length) {
                    case 0:
                      t();
                      break;
                    case 1:
                      t(n[0]);
                      break;
                    case 2:
                      t(n[0], n[1]);
                      break;
                    case 3:
                      t(n[0], n[1], n[2]);
                      break;
                    default:
                      t.apply(void 0, n);
                  }
                })(t);
              } finally {
                s(e), (o = !1);
              }
            }
          }
        }
      })(
        "undefined" === typeof self
          ? "undefined" === typeof e
            ? this
            : e
          : self
      );
    }).call(this, n(91), n(107));
  },
  13: function (module, __webpack_exports__, __webpack_require__) {
    "use strict";
    __webpack_require__.d(__webpack_exports__, "g", function () {
      return loadJS;
    }),
      __webpack_require__.d(__webpack_exports__, "d", function () {
        return getConfig;
      }),
      __webpack_require__.d(__webpack_exports__, "j", function () {
        return setAttrByLabel;
      }),
      __webpack_require__.d(__webpack_exports__, "e", function () {
        return getDataAndKeys;
      }),
      __webpack_require__.d(__webpack_exports__, "k", function () {
        return setGlobalVariableValue;
      }),
      __webpack_require__.d(__webpack_exports__, "c", function () {
        return formatValue;
      }),
      __webpack_require__.d(__webpack_exports__, "b", function () {
        return ensureArray;
      }),
      __webpack_require__.d(__webpack_exports__, "f", function () {
        return getEditorData;
      }),
      __webpack_require__.d(__webpack_exports__, "l", function () {
        return setPanelStateByName;
      }),
      __webpack_require__.d(__webpack_exports__, "i", function () {
        return randomString;
      }),
      __webpack_require__.d(__webpack_exports__, "h", function () {
        return raiseEvent;
      }),
      __webpack_require__.d(__webpack_exports__, "a", function () {
        return addToRepeater;
      });
    var D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ =
        __webpack_require__(20),
      scriptjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54),
      scriptjs__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(
        scriptjs__WEBPACK_IMPORTED_MODULE_1__
      ),
      _antv_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(37);
    function _regeneratorRuntime() {
      _regeneratorRuntime = function () {
        return t;
      };
      var e,
        t = {},
        n = Object.prototype,
        r = n.hasOwnProperty,
        i =
          Object.defineProperty ||
          function (e, t, n) {
            e[t] = n.value;
          },
        a = "function" == typeof Symbol ? Symbol : {},
        o = a.iterator || "@@iterator",
        l = a.asyncIterator || "@@asyncIterator",
        u = a.toStringTag || "@@toStringTag";
      function s(e, t, n) {
        return (
          Object.defineProperty(e, t, {
            value: n,
            enumerable: !0,
            configurable: !0,
            writable: !0,
          }),
          e[t]
        );
      }
      try {
        s({}, "");
      } catch (e) {
        s = function (e, t, n) {
          return (e[t] = n);
        };
      }
      function c(e, t, n, r) {
        var a = t && t.prototype instanceof g ? t : g,
          o = Object.create(a.prototype),
          l = new O(r || []);
        return i(o, "_invoke", { value: C(e, n, l) }), o;
      }
      function f(e, t, n) {
        try {
          return { type: "normal", arg: e.call(t, n) };
        } catch (e) {
          return { type: "throw", arg: e };
        }
      }
      t.wrap = c;
      var d = "suspendedStart",
        p = "executing",
        h = "completed",
        v = {};
      function g() {}
      function m() {}
      function y() {}
      var b = {};
      s(b, o, function () {
        return this;
      });
      var w = Object.getPrototypeOf,
        k = w && w(w(I([])));
      k && k !== n && r.call(k, o) && (b = k);
      var x = (y.prototype = g.prototype = Object.create(b));
      function S(e) {
        ["next", "throw", "return"].forEach(function (t) {
          s(e, t, function (e) {
            return this._invoke(t, e);
          });
        });
      }
      function _(e, t) {
        function n(i, a, o, l) {
          var u = f(e[i], e, a);
          if ("throw" !== u.type) {
            var s = u.arg,
              c = s.value;
            return c && "object" == typeof c && r.call(c, "__await")
              ? t.resolve(c.__await).then(
                  function (e) {
                    n("next", e, o, l);
                  },
                  function (e) {
                    n("throw", e, o, l);
                  }
                )
              : t.resolve(c).then(
                  function (e) {
                    (s.value = e), o(s);
                  },
                  function (e) {
                    return n("throw", e, o, l);
                  }
                );
          }
          l(u.arg);
        }
        var a;
        i(this, "_invoke", {
          value: function (e, r) {
            function i() {
              return new t(function (t, i) {
                n(e, r, t, i);
              });
            }
            return (a = a ? a.then(i, i) : i());
          },
        });
      }
      function C(t, n, r) {
        var i = d;
        return function (a, o) {
          if (i === p) throw new Error("Generator is already running");
          if (i === h) {
            if ("throw" === a) throw o;
            return { value: e, done: !0 };
          }
          for (r.method = a, r.arg = o; ; ) {
            var l = r.delegate;
            if (l) {
              var u = E(l, r);
              if (u) {
                if (u === v) continue;
                return u;
              }
            }
            if ("next" === r.method) r.sent = r._sent = r.arg;
            else if ("throw" === r.method) {
              if (i === d) throw ((i = h), r.arg);
              r.dispatchException(r.arg);
            } else "return" === r.method && r.abrupt("return", r.arg);
            i = p;
            var s = f(t, n, r);
            if ("normal" === s.type) {
              if (((i = r.done ? h : "suspendedYield"), s.arg === v)) continue;
              return { value: s.arg, done: r.done };
            }
            "throw" === s.type &&
              ((i = h), (r.method = "throw"), (r.arg = s.arg));
          }
        };
      }
      function E(t, n) {
        var r = n.method,
          i = t.iterator[r];
        if (i === e)
          return (
            (n.delegate = null),
            ("throw" === r &&
              t.iterator.return &&
              ((n.method = "return"),
              (n.arg = e),
              E(t, n),
              "throw" === n.method)) ||
              ("return" !== r &&
                ((n.method = "throw"),
                (n.arg = new TypeError(
                  "The iterator does not provide a '" + r + "' method"
                )))),
            v
          );
        var a = f(i, t.iterator, n.arg);
        if ("throw" === a.type)
          return (n.method = "throw"), (n.arg = a.arg), (n.delegate = null), v;
        var o = a.arg;
        return o
          ? o.done
            ? ((n[t.resultName] = o.value),
              (n.next = t.nextLoc),
              "return" !== n.method && ((n.method = "next"), (n.arg = e)),
              (n.delegate = null),
              v)
            : o
          : ((n.method = "throw"),
            (n.arg = new TypeError("iterator result is not an object")),
            (n.delegate = null),
            v);
      }
      function N(e) {
        var t = { tryLoc: e[0] };
        1 in e && (t.catchLoc = e[1]),
          2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
          this.tryEntries.push(t);
      }
      function L(e) {
        var t = e.completion || {};
        (t.type = "normal"), delete t.arg, (e.completion = t);
      }
      function O(e) {
        (this.tryEntries = [{ tryLoc: "root" }]),
          e.forEach(N, this),
          this.reset(!0);
      }
      function I(t) {
        if (t || "" === t) {
          var n = t[o];
          if (n) return n.call(t);
          if ("function" == typeof t.next) return t;
          if (!isNaN(t.length)) {
            var i = -1,
              a = function n() {
                for (; ++i < t.length; )
                  if (r.call(t, i)) return (n.value = t[i]), (n.done = !1), n;
                return (n.value = e), (n.done = !0), n;
              };
            return (a.next = a);
          }
        }
        throw new TypeError(typeof t + " is not iterable");
      }
      return (
        (m.prototype = y),
        i(x, "constructor", { value: y, configurable: !0 }),
        i(y, "constructor", { value: m, configurable: !0 }),
        (m.displayName = s(y, u, "GeneratorFunction")),
        (t.isGeneratorFunction = function (e) {
          var t = "function" == typeof e && e.constructor;
          return (
            !!t &&
            (t === m || "GeneratorFunction" === (t.displayName || t.name))
          );
        }),
        (t.mark = function (e) {
          return (
            Object.setPrototypeOf
              ? Object.setPrototypeOf(e, y)
              : ((e.__proto__ = y), s(e, u, "GeneratorFunction")),
            (e.prototype = Object.create(x)),
            e
          );
        }),
        (t.awrap = function (e) {
          return { __await: e };
        }),
        S(_.prototype),
        s(_.prototype, l, function () {
          return this;
        }),
        (t.AsyncIterator = _),
        (t.async = function (e, n, r, i, a) {
          void 0 === a && (a = Promise);
          var o = new _(c(e, n, r, i), a);
          return t.isGeneratorFunction(n)
            ? o
            : o.next().then(function (e) {
                return e.done ? e.value : o.next();
              });
        }),
        S(x),
        s(x, u, "Generator"),
        s(x, o, function () {
          return this;
        }),
        s(x, "toString", function () {
          return "[object Generator]";
        }),
        (t.keys = function (e) {
          var t = Object(e),
            n = [];
          for (var r in t) n.push(r);
          return (
            n.reverse(),
            function e() {
              for (; n.length; ) {
                var r = n.pop();
                if (r in t) return (e.value = r), (e.done = !1), e;
              }
              return (e.done = !0), e;
            }
          );
        }),
        (t.values = I),
        (O.prototype = {
          constructor: O,
          reset: function (t) {
            if (
              ((this.prev = 0),
              (this.next = 0),
              (this.sent = this._sent = e),
              (this.done = !1),
              (this.delegate = null),
              (this.method = "next"),
              (this.arg = e),
              this.tryEntries.forEach(L),
              !t)
            )
              for (var n in this)
                "t" === n.charAt(0) &&
                  r.call(this, n) &&
                  !isNaN(+n.slice(1)) &&
                  (this[n] = e);
          },
          stop: function () {
            this.done = !0;
            var e = this.tryEntries[0].completion;
            if ("throw" === e.type) throw e.arg;
            return this.rval;
          },
          dispatchException: function (t) {
            if (this.done) throw t;
            var n = this;
            function i(r, i) {
              return (
                (l.type = "throw"),
                (l.arg = t),
                (n.next = r),
                i && ((n.method = "next"), (n.arg = e)),
                !!i
              );
            }
            for (var a = this.tryEntries.length - 1; a >= 0; --a) {
              var o = this.tryEntries[a],
                l = o.completion;
              if ("root" === o.tryLoc) return i("end");
              if (o.tryLoc <= this.prev) {
                var u = r.call(o, "catchLoc"),
                  s = r.call(o, "finallyLoc");
                if (u && s) {
                  if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                  if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                } else if (u) {
                  if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                } else {
                  if (!s)
                    throw new Error("try statement without catch or finally");
                  if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                }
              }
            }
          },
          abrupt: function (e, t) {
            for (var n = this.tryEntries.length - 1; n >= 0; --n) {
              var i = this.tryEntries[n];
              if (
                i.tryLoc <= this.prev &&
                r.call(i, "finallyLoc") &&
                this.prev < i.finallyLoc
              ) {
                var a = i;
                break;
              }
            }
            a &&
              ("break" === e || "continue" === e) &&
              a.tryLoc <= t &&
              t <= a.finallyLoc &&
              (a = null);
            var o = a ? a.completion : {};
            return (
              (o.type = e),
              (o.arg = t),
              a
                ? ((this.method = "next"), (this.next = a.finallyLoc), v)
                : this.complete(o)
            );
          },
          complete: function (e, t) {
            if ("throw" === e.type) throw e.arg;
            return (
              "break" === e.type || "continue" === e.type
                ? (this.next = e.arg)
                : "return" === e.type
                ? ((this.rval = this.arg = e.arg),
                  (this.method = "return"),
                  (this.next = "end"))
                : "normal" === e.type && t && (this.next = t),
              v
            );
          },
          finish: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var n = this.tryEntries[t];
              if (n.finallyLoc === e)
                return this.complete(n.completion, n.afterLoc), L(n), v;
            }
          },
          catch: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var n = this.tryEntries[t];
              if (n.tryLoc === e) {
                var r = n.completion;
                if ("throw" === r.type) {
                  var i = r.arg;
                  L(n);
                }
                return i;
              }
            }
            throw new Error("illegal catch attempt");
          },
          delegateYield: function (t, n, r) {
            return (
              (this.delegate = { iterator: I(t), resultName: n, nextLoc: r }),
              "next" === this.method && (this.arg = e),
              v
            );
          },
        }),
        t
      );
    }
    var $ = window.$,
      $axure = window.$axure,
      loadJS = function (e) {
        return new Promise(function (t) {
          return scriptjs__WEBPACK_IMPORTED_MODULE_1___default.a.get(
            e,
            function () {
              t(!0);
            }
          );
        });
      },
      replaceAll = function (e, t, n) {
        return (
          (t = t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1")),
          e.replace(new RegExp(t, "g"), n)
        );
      },
      bool = function (e) {
        return !(
          "false" === e ||
          0 === e ||
          null === e ||
          void 0 === e ||
          "" === e ||
          !1 === e
        );
      },
      getGlobalConfig = function () {
        if (window.acpGlobalConfig) return window.acpGlobalConfig;
        var e = {};
        return (
          window.$axure.internal(function (t) {
            t.pageData.variables.map(function (n) {
              (n = n.replaceAll("_", ".")),
                (e[n] = formatValue(
                  t.globalVariableProvider.getVariableValue(n)
                ));
            });
          }),
          (window.acpGlobalConfig = e),
          e
        );
      },
      getRepeater = function (e) {
        var t;
        return (
          window
            .$axure(function (e) {
              return "repeater" === e.type;
            })
            .each(function (n, r) {
              e === r && (t = n);
            }),
          t
        );
      },
      getConfig = function (e) {
        var t =
            arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
          n =
            arguments.length > 2 && void 0 !== arguments[2]
              ? arguments[2]
              : null;
        try {
          var r = {},
            i = n || getRepeaterRowsAndColumns(e).rows,
            a = t;
          return (
            n
              ? i.map(function (e) {
                  if (e.item) {
                    var t = a[e.item] || e.item;
                    r[t] = e.value;
                  }
                })
              : i.map(function (e) {
                  if (e.item) {
                    var t,
                      n =
                        a[e.item.text.trim().toLowerCase()] ||
                        e.item.text.trim();
                    if (e.value)
                      (t =
                        "image" === e.value.type
                          ? "./" + e.value.img.s0
                          : "page" === e.value.type
                          ? "./" + e.value.url
                          : e.value.text.trim()),
                        (r[n] = "code" !== n ? formatValue(t) : t);
                  }
                }),
            r
          );
        } catch (o) {
          return (
            console.error(o),
            console.log("Error\uff1aCan not get config by  " + e),
            null
          );
        }
      },
      getAnnotations = function (e, t) {
        try {
          var n = [],
            r = getRepeaterRowsAndColumns(e),
            i = r.rows,
            a = r.columns,
            o = t;
          return (
            a.map(function (e, t) {
              if (t > 0) {
                var r = {};
                i.map(function (t) {
                  if (t.option) {
                    var n =
                        o[t.option.text.trim().toLowerCase()] ||
                        t.option.text.trim(),
                      i = t[e].text.trim();
                    i && ((i = formatValue(i)), setAttrByLabel(r, n, i));
                  }
                }),
                  n.push(r);
              }
            }),
            n
          );
        } catch (l) {
          return (
            console.error(l),
            console.error("Error\uff1aCan not get annotations by  " + e),
            null
          );
        }
      },
      isIE = function () {
        return !(!window.ActiveXObject && !("ActiveXObject" in window));
      },
      setAttrByLabel = function (e, t, n) {
        var r = [];
        (r = t.split(".")).forEach(function (t, i, a) {
          if (t.endsWith("]")) {
            var o = /\[(\d+)\]$/.exec(t);
            if (o) {
              t = t.replace(o[0], "");
              var l = Number(o[1]);
              (e[t] && e[t].constructor === Array) || (e[t] = []),
                i == r.length - 1
                  ? (e[t][l] = n)
                  : ((e[t][l] && e[t][l].constructor === Object) ||
                      (e[t][l] = {}),
                    (e = e[t][l]));
            }
          } else i == r.length - 1 ? (e[t] = n) : ((e[t] && e[t].constructor === Object) || (e[t] = {}), (e = e[t]));
        });
      },
      getDataAndKeys = function (e) {
        var t = [],
          n = getRepeaterRowsAndColumns(e),
          r = n.rows,
          i = n.columns;
        return {
          data: r.map(function (e, n) {
            t = Object.getOwnPropertyNames(e);
            var r = {};
            return (
              t.map(function (t, n) {
                var i = e[t].text || null;
                e[t].img
                  ? (i = e[t].img.s0 || i)
                  : "page" === e[t].type && (i = "./" + e[t].url),
                  (r[t] = isNaN(i) || null === i ? i : Number(i)),
                  !n &&
                    isNaN(i) &&
                    (r[t] = r[t].replace(RegExp("{br}", "g"), "\n"));
              }),
              r
            );
          }),
          keys: i,
        };
      },
      getRepeaterRowsAndColumns = function (e, t, n) {
        var r;
        window.$axure.internal(function (e) {
          r = e;
        });
        var i = t;
        void 0 === i
          ? (i = r.repeater.getAllItemIds(e))
          : "object" != typeof i && (i = [i]),
          void 0 === n
            ? (n = getRepeater(e).dataProps)
            : "object" != typeof n && (n = [n]),
          (t = []);
        for (var a = 0, o = i.length; a < o; a++) {
          for (var l = {}, u = 0, s = n.length; u < s; u++) {
            var c = n[u].toLowerCase(),
              f = i[a];
            "string" == typeof f &&
              -1 != f.indexOf("-") &&
              (f = r.repeater.getItemIdFromElementId(f));
            var d = r.repeater.getData({}, e, i[a], c, "data");
            "object" === typeof d
              ? (void 0 === (d = r.deepCopy(d)).type && (d.type = "text"),
                (l[c] = d))
              : (l[c] = { type: "text", text: d });
          }
          t.push(l);
        }
        return { columns: n, rows: t };
      },
      setGlobalVariableValue = function (e, t) {
        var n;
        window.$axure.internal(function (e) {
          n = e;
        }),
          n.globalVariableProvider.setVariableValue(e, t, !1);
      },
      getGlobalVariableValue = function (e, t) {
        var n;
        return (
          window.$axure.internal(function (e) {
            n = e;
          }),
          n.globalVariableProvider.getVariableValue(e, t, !1)
        );
      },
      formatNumber = function (e) {
        return !isNaN(e) && e ? Number(e) : e;
      },
      formatValue = function formatValue(str) {
        if ("" !== str && void 0 !== str && null !== str) {
          if ("string" !== typeof str) return str;
          if (!isNaN(str)) return Number(str);
          if (-1 !== ["true", "false"].indexOf(str)) return "true" === str;
          try {
            return JSON.parse(str);
          } catch (error) {}
          if (0 === str.indexOf("function("))
            return eval("(false || " + str + ")");
          var reg = /\[(.+?)\]/g,
            res = reg.exec(str);
          return res
            ? res[1].split(",").map(function (e) {
                return isNaN(e)
                  ? e.replaceAll("'", "").replaceAll('"', "")
                  : Number(e);
              })
            : -1 !== str.indexOf("|")
            ? str.split("|").map(function (e) {
                return isNaN(e) ? e : Number(e);
              })
            : -1 !== str.indexOf(",") && -1 === str.indexOf("rgb")
            ? str.split(",").map(function (e) {
                return isNaN(e) ? e : Number(e);
              })
            : str;
        }
      },
      ensureArray = function (e) {
        return Array.isArray(e) ? e : void 0 === e ? [] : [e];
      },
      axGet = function (e) {
        return new Promise(function (t, n) {
          window.$.ajax({
            type: "GET",
            url: e,
            success: function (e) {
              t(e);
            },
            error: function (e, t) {
              n(t);
            },
          });
        });
      };
    function chartConfigToRepeaterConfig(e) {
      var t = {};
      return (
        (function e(n, r) {
          for (var i in n) {
            var a = n[i],
              o = r ? "".concat(r, ".").concat(i) : i;
            "object" !== typeof a || Array.isArray(a) ? (t[o] = a) : e(a, o);
          }
        })(e, ""),
        t
      );
    }
    var getKeysByData = function (e) {
        return Array.isArray(e)
          ? Object.keys(e[0])
          : e.children
          ? Object.keys(
              (null === e || void 0 === e ? void 0 : e.children[0]) || {}
            )
          : [];
      },
      getCache = function (e) {
        for (
          var t = e + "=",
            n = decodeURIComponent(document.cookie).split(";"),
            r = 0;
          r < n.length;
          r++
        ) {
          for (var i = n[r]; " " === i.charAt(0); ) i = i.substring(1);
          if (0 === i.indexOf(t)) {
            var a = i.substring(t.length, i.length);
            try {
              return JSON.parse(a);
            } catch (o) {
              return a;
            }
          }
        }
        return "";
      },
      convertSVGToCanvas = function (e, t, n) {
        var r = new Blob([e], { type: "image/svg+xml" }),
          i = URL.createObjectURL(r),
          a = document.createElement("canvas");
        (a.width = t), (a.height = n);
        var o = new Image();
        return (
          (o.crossorigin = "anonymous"),
          o.setAttribute("crossorigin", "anonymous"),
          (o.src = i),
          new Promise(function (e, r) {
            (o.onload = function () {
              URL.revokeObjectURL(i);
              var r = a.getContext("2d");
              (r.fillStyle = "rgba(255, 255, 255, 0)"),
                r.fillRect(0, 0, t, n),
                r.drawImage(o, 0, 0, t, n),
                e(a);
            }),
              (o.onerror = function (t) {
                URL.revokeObjectURL(i), console.warn(t), e(null);
              });
          })
        );
      },
      getEditorData = (function () {
        var e = Object(
          D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.a
        )(
          _regeneratorRuntime().mark(function e(t, n) {
            var r,
              i,
              a,
              o,
              l,
              u,
              s,
              c,
              f,
              d,
              p,
              h,
              v,
              g,
              m,
              y,
              b,
              w,
              k = arguments;
            return _regeneratorRuntime().wrap(
              function (e) {
                for (;;)
                  switch ((e.prev = e.next)) {
                    case 0:
                      if (
                        ((l = k.length > 2 && void 0 !== k[2] ? k[2] : ""),
                        (u = window.$),
                        (s =
                          u(t).find("img#".concat(t.id, "_img")).attr("src") ||
                          ""),
                        (c = null),
                        (f = !1),
                        !s.endsWith(".svg") ||
                          window.location.href.startsWith("file://"))
                      ) {
                        e.next = 17;
                        break;
                      }
                      return (e.prev = 6), (e.next = 9), axGet(s);
                    case 9:
                      (d = e.sent),
                        (p = JSON.parse(
                          u(d).find("svg").attr("AxData") ||
                            u(d).find("#config").text() ||
                            "{}"
                        )),
                        n.axhubEditorConfig
                          ? ((null === (h = n.axhubEditorConfig) || void 0 === h
                              ? void 0
                              : h.time) || 0) <
                              ((null === p || void 0 === p ? void 0 : p.time) ||
                                0) && (n.axhubEditorConfig = p)
                          : (n.axhubEditorConfig = p),
                        (e.next = 17);
                      break;
                    case 14:
                      (e.prev = 14), (e.t0 = e.catch(6)), console.error(e.t0);
                    case 17:
                      if (
                        (l &&
                          (v = getGlobalConfig())[l] &&
                          (((null === (g = n.axhubEditorConfig) || void 0 === g
                            ? void 0
                            : g.time) || 0) <
                          ((null === (m = v[l]) || void 0 === m
                            ? void 0
                            : m.time) || 0)
                            ? (n.axhubEditorConfig = Object(
                                _antv_util__WEBPACK_IMPORTED_MODULE_2__.a
                              )(
                                {},
                                (null === (y = n) || void 0 === y
                                  ? void 0
                                  : y.axhubEditorConfig) || {},
                                v[l] || {}
                              ))
                            : (n.axhubEditorConfig = Object(
                                _antv_util__WEBPACK_IMPORTED_MODULE_2__.a
                              )(
                                {},
                                v[l] || {},
                                (null === (b = n) || void 0 === b
                                  ? void 0
                                  : b.axhubEditorConfig) || {}
                              ))),
                        !n.axhubEditorConfig)
                      ) {
                        e.next = 37;
                        break;
                      }
                      (e.t1 = n.configSource),
                        (e.next =
                          "repeater" === e.t1
                            ? 22
                            : "editor" === e.t1
                            ? 23
                            : 25);
                      break;
                    case 22:
                      return e.abrupt("break", 27);
                    case 23:
                      return (
                        (n =
                          (null === (r = n.axhubEditorConfig) || void 0 === r
                            ? void 0
                            : r.config) || {}),
                        e.abrupt("break", 27)
                      );
                    case 25:
                      return (
                        (n = Object(_antv_util__WEBPACK_IMPORTED_MODULE_2__.a)(
                          n,
                          (null === (i = n.axhubEditorConfig) || void 0 === i
                            ? void 0
                            : i.config) || {}
                        )),
                        e.abrupt("break", 27)
                      );
                    case 27:
                      (e.t2 = n.dataSource),
                        (e.next =
                          "repeater" === e.t2
                            ? 30
                            : "editor" === e.t2
                            ? 31
                            : 33);
                      break;
                    case 30:
                      return e.abrupt("break", 35);
                    case 31:
                      return (
                        (c = (null === (a = n.axhubEditorConfig) || void 0 === a
                          ? void 0
                          : a.data) || { data: [], keys: [] }),
                        e.abrupt("break", 35)
                      );
                    case 33:
                      return (
                        (c =
                          (null === (o = n.axhubEditorConfig) || void 0 === o
                            ? void 0
                            : o.data) || c),
                        e.abrupt("break", 35)
                      );
                    case 35:
                      (f = window
                        .atob(
                          (null === (w = n.axhubEditorConfig) || void 0 === w
                            ? void 0
                            : w.u) || ""
                        )
                        .endsWith("b1")),
                        delete n.axhubEditorConfig;
                    case 37:
                      return e.abrupt("return", {
                        config: n,
                        data: c,
                        isEnt: f,
                      });
                    case 38:
                    case "end":
                      return e.stop();
                  }
              },
              e,
              null,
              [[6, 14]]
            );
          })
        );
        return function (t, n) {
          return e.apply(this, arguments);
        };
      })(),
      setPanelStateByName = function (e, t) {
        for (
          var n =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : {},
            r = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
            i = function (e) {
              for (var t = [], n = 1; ; n++) {
                var r = $("#" + e + "_state" + (n - 1));
                if (!r.length) break;
                var i = r.attr("data-label");
                (t[n] = i), (t[i] = n);
              }
              return t;
            },
            a = 0;
          a < e.length;
          a++
        ) {
          var o = e[a],
            l = i(o)[t];
          l && window.$axure("#" + o).SetPanelState(l, n, r);
        }
      };
    function randomString(e) {
      e = e || 32;
      for (
        var t = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",
          n = t.length,
          r = "",
          i = 0;
        i < e;
        i++
      )
        r += t.charAt(Math.floor(Math.random() * n));
      return r;
    }
    var raiseEvent = function (e, t) {
        var n;
        window.$axure.internal(function (e) {
          n = e;
        }),
          n.initializeObjectEvents(
            n(function (t, n) {
              return n === e;
            })
          ),
          n.event.raiseSyntheticEvent(e, t);
      },
      addToRepeater = function (e, t) {
        var n;
        window.$axure.internal(function (e) {
          n = e;
        }),
          n.repeater.addItem(e, t, n.getEventInfoFromEvent(null, !1, e)),
          n.repeater.refreshRepeater(e);
      };
  },
  162: function (e, t, n) {
    e.exports = n(168);
  },
  163: function (e, t, n) {
    e.exports = n.p + "static/media/index.58aa4d10.less";
  },
  164: function (e, t, n) {
    "use strict";
    var r = n(0),
      i = Symbol.for("react.element"),
      a = Symbol.for("react.fragment"),
      o = Object.prototype.hasOwnProperty,
      l =
        r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
      u = { key: !0, ref: !0, __self: !0, __source: !0 };
    function s(e, t, n) {
      var r,
        a = {},
        s = null,
        c = null;
      for (r in (void 0 !== n && (s = "" + n),
      void 0 !== t.key && (s = "" + t.key),
      void 0 !== t.ref && (c = t.ref),
      t))
        o.call(t, r) && !u.hasOwnProperty(r) && (a[r] = t[r]);
      if (e && e.defaultProps)
        for (r in (t = e.defaultProps)) void 0 === a[r] && (a[r] = t[r]);
      return {
        $$typeof: i,
        type: e,
        key: s,
        ref: c,
        props: a,
        _owner: l.current,
      };
    }
    (t.Fragment = a), (t.jsx = s), (t.jsxs = s);
  },
  168: function (e, t, n) {
    "use strict";
    n.r(t);
    var r = n(20),
      i = function (e, t) {
        return (i =
          Object.setPrototypeOf ||
          ({ __proto__: [] } instanceof Array &&
            function (e, t) {
              e.__proto__ = t;
            }) ||
          function (e, t) {
            for (var n in t)
              Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
          })(e, t);
      };
    function a(e, t) {
      if ("function" != typeof t && null !== t)
        throw new TypeError(
          "Class extends value " + String(t) + " is not a constructor or null"
        );
      function n() {
        this.constructor = e;
      }
      i(e, t),
        (e.prototype =
          null === t
            ? Object.create(t)
            : ((n.prototype = t.prototype), new n()));
    }
    var o = function () {
      return (o =
        Object.assign ||
        function (e) {
          for (var t, n = 1, r = arguments.length; n < r; n++)
            for (var i in (t = arguments[n]))
              Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
          return e;
        }).apply(this, arguments);
    };
    function l(e, t, n, r) {
      return new (n || (n = Promise))(function (i, a) {
        function o(e) {
          try {
            u(r.next(e));
          } catch (e) {
            a(e);
          }
        }
        function l(e) {
          try {
            u(r.throw(e));
          } catch (e) {
            a(e);
          }
        }
        function u(e) {
          var t;
          e.done
            ? i(e.value)
            : ((t = e.value),
              t instanceof n
                ? t
                : new n(function (e) {
                    e(t);
                  })).then(o, l);
        }
        u((r = r.apply(e, t || [])).next());
      });
    }
    function u(e, t) {
      var n,
        r,
        i,
        a,
        o = {
          label: 0,
          sent: function () {
            if (1 & i[0]) throw i[1];
            return i[1];
          },
          trys: [],
          ops: [],
        };
      return (
        (a = { next: l(0), throw: l(1), return: l(2) }),
        "function" == typeof Symbol &&
          (a[Symbol.iterator] = function () {
            return this;
          }),
        a
      );
      function l(a) {
        return function (l) {
          return (function (a) {
            if (n) throw new TypeError("Generator is already executing.");
            for (; o; )
              try {
                if (
                  ((n = 1),
                  r &&
                    (i =
                      2 & a[0]
                        ? r.return
                        : a[0]
                        ? r.throw || ((i = r.return) && i.call(r), 0)
                        : r.next) &&
                    !(i = i.call(r, a[1])).done)
                )
                  return i;
                switch (((r = 0), i && (a = [2 & a[0], i.value]), a[0])) {
                  case 0:
                  case 1:
                    i = a;
                    break;
                  case 4:
                    return o.label++, { value: a[1], done: !1 };
                  case 5:
                    o.label++, (r = a[1]), (a = [0]);
                    continue;
                  case 7:
                    (a = o.ops.pop()), o.trys.pop();
                    continue;
                  default:
                    if (
                      !(
                        (i = (i = o.trys).length > 0 && i[i.length - 1]) ||
                        (6 !== a[0] && 2 !== a[0])
                      )
                    ) {
                      o = 0;
                      continue;
                    }
                    if (3 === a[0] && (!i || (a[1] > i[0] && a[1] < i[3]))) {
                      o.label = a[1];
                      break;
                    }
                    if (6 === a[0] && o.label < i[1]) {
                      (o.label = i[1]), (i = a);
                      break;
                    }
                    if (i && o.label < i[2]) {
                      (o.label = i[2]), o.ops.push(a);
                      break;
                    }
                    i[2] && o.ops.pop(), o.trys.pop();
                    continue;
                }
                a = t.call(e, o);
              } catch (e) {
                (a = [6, e]), (r = 0);
              } finally {
                n = i = 0;
              }
            if (5 & a[0]) throw a[1];
            return { value: a[0] ? a[1] : void 0, done: !0 };
          })([a, l]);
        };
      }
    }
    function s(e, t) {
      for (var n = 0, r = t.length, i = e.length; n < r; n++, i++) e[i] = t[n];
      return e;
    }
    Array.prototype.includes ||
      Object.defineProperty(Array.prototype, "includes", {
        value: function (e, t) {
          if (null == this)
            throw new TypeError('"this" is null or not defined');
          var n = Object(this),
            r = n.length >>> 0;
          if (0 === r) return !1;
          for (
            var i, a, o = 0 | t, l = Math.max(o >= 0 ? o : r - Math.abs(o), 0);
            l < r;

          ) {
            if (
              (i = n[l]) === (a = e) ||
              ("number" == typeof i &&
                "number" == typeof a &&
                isNaN(i) &&
                isNaN(a))
            )
              return !0;
            l++;
          }
          return !1;
        },
      }),
      String.prototype.includes ||
        (String.prototype.includes = function (e, t) {
          return (
            "number" != typeof t && (t = 0),
            !(t + e.length > this.length) && -1 !== this.indexOf(e, t)
          );
        }),
      Array.prototype.find ||
        Object.defineProperty(Array.prototype, "find", {
          value: function (e) {
            if (null == this)
              throw new TypeError('"this" is null or not defined');
            var t = Object(this),
              n = t.length >>> 0;
            if ("function" != typeof e)
              throw new TypeError("predicate must be a function");
            for (var r = arguments[1], i = 0; i < n; ) {
              var a = t[i];
              if (e.call(r, a, i, t)) return a;
              i++;
            }
          },
        });
    var c = function (e) {
        for (var t = [], n = 1; n < arguments.length; n++)
          t[n - 1] = arguments[n];
        return t.some(function (t) {
          return (
            Object.prototype.toString.call(e).slice(8, -1).toLowerCase() === t
          );
        });
      },
      f = function (e, t) {
        return Object.prototype.hasOwnProperty.call(e, t);
      },
      d = function (e) {
        return [].filter
          .call(e, function (e) {
            return "\n" !== e;
          })
          .join("");
      },
      p = function (e) {
        if ("string" != typeof e) return !1;
        if ("transparent" === (e = e.toLocaleLowerCase().trim())) return !1;
        var t;
        if (
          /^rgba/.test(e) &&
          0 ===
            (null === (t = /([^\s,]+)\)$/.exec(e))
              ? 0
              : "object" == typeof t
              ? NaN
              : "number" == typeof t
              ? t
              : "string" == typeof t
              ? "%" === t[t.length - 1]
                ? Number(t.slice(0, -1)) / 100
                : Number(t)
              : NaN)
        )
          return !1;
        return !0;
      },
      h = function (e, t) {
        var n,
          r = (null === (n = e.padding) || void 0 === n
            ? void 0
            : n.split(" ").map(function (e) {
                return t(e);
              })) || [0],
          i = 0,
          a = 0,
          o = 0,
          l = 0;
        switch (r.length) {
          case 1:
            i = a = o = l = r[0];
            break;
          case 2:
            (i = a = r[0]), (o = l = r[1]);
            break;
          case 3:
            (i = r[0]), (o = l = r[1]), (a = r[2]);
            break;
          default:
            (i = r[0]), (a = r[1]), (o = r[2]), (l = r[3]);
        }
        var u = {
          paddingTop: i,
          paddingBottom: a,
          paddingLeft: o,
          paddingRight: l,
        };
        for (var s in u)
          u[s] = f(e, s) && c(e[s], "string", "number") ? t(e[s]) : u[s];
        return [i, a, o, l];
      },
      v = function (e) {
        var t = [],
          n = e
            .map(function (e) {
              return Number(e);
            })
            .reduce(function (e, n) {
              if (n > 0) {
                var r = e + n;
                return t.push(r), r;
              }
              return t.push(NaN), e;
            }, 0),
          r = Math.random() * n;
        return t.findIndex(function (e) {
          return r <= e;
        });
      },
      g = function (e, t, n, r) {
        void 0 === r && (r = 1 / 0), r <= 0 && (r = 1 / 0);
        for (
          var i = "", a = [], o = e.measureText("...").width, l = 0;
          l < t.length;
          l++
        ) {
          i += t[l];
          var u = e.measureText(i).width,
            s = n(a);
          if ((r === a.length + 1 && (u += o), s < 0)) return a;
          if ((u > s && (a.push(i.slice(0, -1)), (i = t[l])), r === a.length))
            return (a[a.length - 1] += "..."), a;
        }
        return i && a.push(i), a.length || a.push(t), a;
      },
      m = (function () {
        function e() {
          this.subs = [];
        }
        return (
          (e.prototype.addSub = function (e) {
            this.subs.includes(e) || this.subs.push(e);
          }),
          (e.prototype.notify = function () {
            this.subs.forEach(function (e) {
              e.update();
            });
          }),
          e
        );
      })(),
      y = "__proto__" in {};
    function b(e, t, n, r) {
      Object.defineProperty(e, t, {
        value: n,
        enumerable: !!r,
        writable: !0,
        configurable: !0,
      });
    }
    var w = Array.prototype,
      k = Object.create(w);
    ["push", "pop", "shift", "unshift", "sort", "splice", "reverse"].forEach(
      function (e) {
        k[e] = function () {
          for (var t = [], n = 0; n < arguments.length; n++)
            t[n] = arguments[n];
          var r = w[e].apply(this, t),
            i = this.__luckyOb__;
          return (
            ["push", "unshift", "splice"].includes(e) && i.walk(this),
            i.dep.notify(),
            r
          );
        };
      }
    );
    var x = (function () {
      function e(e) {
        (this.dep = new m()),
          b(e, "__luckyOb__", this),
          Array.isArray(e) &&
            (y
              ? (e.__proto__ = k)
              : Object.getOwnPropertyNames(k).forEach(function (t) {
                  b(e, t, k[t]);
                })),
          this.walk(e);
      }
      return (
        (e.prototype.walk = function (e) {
          Object.keys(e).forEach(function (t) {
            _(e, t, e[t]);
          });
        }),
        e
      );
    })();
    function S(e) {
      if (e && "object" == typeof e)
        return "__luckyOb__" in e ? e.__luckyOb__ : new x(e);
    }
    function _(e, t, n) {
      var r = new m(),
        i = Object.getOwnPropertyDescriptor(e, t);
      if (!i || !1 !== i.configurable) {
        var a = i && i.get,
          o = i && i.set;
        (a && !o) || 2 !== arguments.length || (n = e[t]);
        var l = S(n);
        Object.defineProperty(e, t, {
          get: function () {
            var t = a ? a.call(e) : n;
            return (
              m.target && (r.addSub(m.target), l && l.dep.addSub(m.target)), t
            );
          },
          set: function (t) {
            t !== n &&
              ((n = t),
              (a && !o) ||
                (o ? o.call(e, t) : (n = t), (l = S(t)), r.notify()));
          },
        });
      }
    }
    var C = 0,
      E = (function () {
        function e(e, t, n, r) {
          void 0 === r && (r = {}),
            (this.id = C++),
            (this.$lucky = e),
            (this.expr = t),
            (this.deep = !!r.deep),
            (this.getter =
              "function" == typeof t
                ? t
                : (function (e) {
                    e += ".";
                    for (var t = [], n = "", r = 0; r < e.length; r++) {
                      var i = e[r];
                      if (/\[|\./.test(i)) t.push(n), (n = "");
                      else {
                        if (/\W/.test(i)) continue;
                        n += i;
                      }
                    }
                    return function (e) {
                      return t.reduce(function (e, t) {
                        return e[t];
                      }, e);
                    };
                  })(t)),
            (this.cb = n),
            (this.value = this.get());
        }
        return (
          (e.prototype.get = function () {
            m.target = this;
            var e = this.getter.call(this.$lucky, this.$lucky);
            return (
              this.deep &&
                (function (e) {
                  !(function e(t) {
                    c(t, "array", "object") &&
                      Object.keys(t).forEach(function (n) {
                        var r = t[n];
                        e(r);
                      });
                  })(e);
                })(e),
              (m.target = null),
              e
            );
          }),
          (e.prototype.update = function () {
            var e = this.get(),
              t = this.value;
            (this.value = e), this.cb.call(this.$lucky, e, t);
          }),
          e
        );
      })(),
      N = (function () {
        function e(e, t) {
          var n = this;
          (this.version = "1.7.26"),
            (this.htmlFontSize = 16),
            (this.rAF = function () {}),
            (this.boxWidth = 0),
            (this.boxHeight = 0),
            "string" == typeof e
              ? (e = { el: e })
              : 1 === e.nodeType && (e = { el: "", divElement: e }),
            (e = e),
            (this.config = e),
            (this.data = t),
            e.flag || (e.flag = "WEB"),
            e.el && (e.divElement = document.querySelector(e.el)),
            e.divElement &&
              ((e.canvasElement = document.createElement("canvas")),
              e.divElement.appendChild(e.canvasElement)),
            e.canvasElement &&
              ((e.ctx = e.canvasElement.getContext("2d")),
              e.canvasElement.setAttribute("package", "lucky-canvas@1.7.26"),
              e.canvasElement.addEventListener("click", function (e) {
                return n.handleClick(e);
              })),
            (this.ctx = e.ctx),
            this.initWindowFunction(),
            this.config.ctx ||
              console.error("\u65e0\u6cd5\u83b7\u53d6\u5230 CanvasContext2D"),
            window &&
              "function" == typeof window.addEventListener &&
              window.addEventListener(
                "resize",
                (function (e, t) {
                  void 0 === t && (t = 300);
                  var n = null;
                  return function () {
                    for (var r = this, i = [], a = 0; a < arguments.length; a++)
                      i[a] = arguments[a];
                    n ||
                      (n = setTimeout(function () {
                        e.apply(r, i), clearTimeout(n), (n = null);
                      }, t));
                  };
                })(function () {
                  return n.resize();
                }, 300)
              ),
            window &&
              "function" == typeof window.MutationObserver &&
              new window.MutationObserver(function () {
                n.resize();
              }).observe(document.documentElement, { attributes: !0 });
        }
        return (
          (e.prototype.resize = function () {
            var e, t;
            null === (t = (e = this.config).beforeResize) ||
              void 0 === t ||
              t.call(e),
              this.setHTMLFontSize(),
              this.setDpr(),
              this.resetWidthAndHeight(),
              this.zoomCanvas();
          }),
          (e.prototype.initLucky = function () {
            if ((this.resize(), !this.boxWidth || !this.boxHeight))
              return console.error(
                "\u65e0\u6cd5\u83b7\u53d6\u5230\u5bbd\u5ea6\u6216\u9ad8\u5ea6"
              );
          }),
          (e.prototype.handleClick = function (e) {}),
          (e.prototype.setHTMLFontSize = function () {
            window &&
              (this.htmlFontSize = +window
                .getComputedStyle(document.documentElement)
                .fontSize.slice(0, -2));
          }),
          (e.prototype.clearCanvas = function () {
            var e = [this.boxWidth, this.boxHeight],
              t = e[0],
              n = e[1];
            this.ctx.clearRect(-t, -n, 2 * t, 2 * n);
          }),
          (e.prototype.setDpr = function () {
            var e = this.config;
            e.dpr ||
              (window
                ? (window.dpr = e.dpr = window.devicePixelRatio || 1)
                : e.dpr ||
                  console.error(
                    e,
                    "\u672a\u4f20\u5165 dpr \u53ef\u80fd\u4f1a\u5bfc\u81f4\u7ed8\u5236\u5f02\u5e38"
                  ));
          }),
          (e.prototype.resetWidthAndHeight = function () {
            var e = this.config,
              t = this.data,
              n = 0,
              r = 0;
            e.divElement &&
              ((n = e.divElement.offsetWidth), (r = e.divElement.offsetHeight)),
              (this.boxWidth = this.getLength(t.width || e.width) || n),
              (this.boxHeight = this.getLength(t.height || e.height) || r),
              e.divElement &&
                ((e.divElement.style.overflow = "hidden"),
                (e.divElement.style.width = this.boxWidth + "px"),
                (e.divElement.style.height = this.boxHeight + "px"));
          }),
          (e.prototype.zoomCanvas = function () {
            var e = this.config,
              t = this.ctx,
              n = e.canvasElement,
              r = e.dpr,
              i = [this.boxWidth * r, this.boxHeight * r],
              a = i[0],
              o = i[1];
            n &&
              ((n.width = a),
              (n.height = o),
              (n.style.width = a + "px"),
              (n.style.height = o + "px"),
              (n.style["transform-origin"] = "left top"),
              (n.style.transform = "scale(" + 1 / r + ")"),
              t.scale(r, r));
          }),
          (e.prototype.initWindowFunction = function () {
            var e = this.config;
            if (window)
              return (
                (this.rAF =
                  window.requestAnimationFrame ||
                  window.webkitRequestAnimationFrame ||
                  window.mozRequestAnimationFrame ||
                  function (e) {
                    window.setTimeout(e, 1e3 / 60);
                  }),
                (e.setTimeout = window.setTimeout),
                (e.setInterval = window.setInterval),
                (e.clearTimeout = window.clearTimeout),
                void (e.clearInterval = window.clearInterval)
              );
            if (e.rAF) this.rAF = e.rAF;
            else if (e.setTimeout) {
              var t = e.setTimeout;
              this.rAF = function (e) {
                return t(e, 16.7);
              };
            } else
              this.rAF = function (e) {
                return setTimeout(e, 16.7);
              };
          }),
          (e.prototype.isWeb = function () {
            return ["WEB", "UNI-H5", "TARO-H5"].includes(this.config.flag);
          }),
          (e.prototype.loadImg = function (e, t, n) {
            var r = this;
            return (
              void 0 === n && (n = "$resolve"),
              new Promise(function (i, a) {
                if (
                  (e ||
                    a(
                      "=> '" +
                        t.src +
                        "' \u4e0d\u80fd\u4e3a\u7a7a\u6216\u4e0d\u5408\u6cd5"
                    ),
                  "WEB" !== r.config.flag)
                )
                  return (t[n] = i), void (t.$reject = a);
                var o = new Image();
                (o.crossorigin = "anonymous"),
                  (o.onload = function () {
                    return i(o);
                  }),
                  (o.onerror = function () {
                    return a(
                      "=> '" + t.src + "' \u56fe\u7247\u52a0\u8f7d\u5931\u8d25"
                    );
                  }),
                  (o.src = e);
              })
            );
          }),
          (e.prototype.drawImage = function (e, t) {
            for (var n, r, i, a = [], o = 2; o < arguments.length; o++)
              a[o - 2] = arguments[o];
            var l = this.config,
              u = l.flag,
              c = l.dpr;
            if (["WEB", "MP-WX"].includes(u)) i = t;
            else {
              if (!["UNI-H5", "UNI-MP", "TARO-H5", "TARO-MP"].includes(u))
                return console.error(
                  "\u610f\u6599\u4e4b\u5916\u7684 flag, \u8be5\u5e73\u53f0\u5c1a\u672a\u517c\u5bb9!"
                );
              i = t.path;
            }
            var f =
              null === (r = (n = i.canvas || i).getContext) || void 0 === r
                ? void 0
                : r.call(n, "2d");
            if (f && !this.isWeb()) {
              a = a.map(function (e) {
                return e * c;
              });
              var d = f.getImageData.apply(f, a.slice(0, 4));
              e.putImageData.apply(e, s([d], a.slice(4, 6)));
            } else {
              8 === a.length &&
                (a = a.map(function (e, t) {
                  return t < 4 ? e * c : e;
                }));
              try {
                e.drawImage.apply(e, s([i], a));
              } catch (e) {}
            }
          }),
          (e.prototype.computedWidthAndHeight = function (e, t, n, r) {
            if (!t.width && !t.height) return [e.width, e.height];
            if (t.width && !t.height) {
              var i = this.getLength(t.width, n);
              return [i, e.height * (i / e.width)];
            }
            if (!t.width && t.height) {
              var a = this.getLength(t.height, r);
              return [e.width * (a / e.height), a];
            }
            return [this.getLength(t.width, n), this.getLength(t.height, r)];
          }),
          (e.prototype.changeUnits = function (e, t) {
            var n = this;
            void 0 === t && (t = 1);
            var r = this.config;
            return Number(
              e.replace(/^([-]*[0-9.]*)([a-z%]*)$/, function (e, i, a) {
                var o = {
                  "%": function (e) {
                    return e * (t / 100);
                  },
                  px: function (e) {
                    return 1 * e;
                  },
                  rem: function (e) {
                    return e * n.htmlFontSize;
                  },
                  vw: function (e) {
                    return (e / 100) * window.innerWidth;
                  },
                }[a];
                if (o) return o(i);
                var l = r.handleCssUnit || r.unitFunc;
                return l ? l(i, a) : i;
              })
            );
          }),
          (e.prototype.getLength = function (e, t) {
            return c(e, "number")
              ? e
              : c(e, "string")
              ? this.changeUnits(e, t)
              : 0;
          }),
          (e.prototype.getOffsetX = function (e, t) {
            return void 0 === t && (t = 0), (t - e) / 2;
          }),
          (e.prototype.getOffscreenCanvas = function (e, t) {
            if (
              !f(this, "_offscreenCanvas") &&
              (window && window.document && "WEB" === this.config.flag
                ? (this._offscreenCanvas = document.createElement("canvas"))
                : (this._offscreenCanvas = this.config.offscreenCanvas),
              !this._offscreenCanvas)
            )
              return console.error(
                "\u79bb\u5c4f Canvas \u65e0\u6cd5\u6e32\u67d3!"
              );
            var n = this.config.dpr,
              r = this._offscreenCanvas;
            (r.width = (e || 300) * n), (r.height = (t || 150) * n);
            var i = r.getContext("2d");
            return (
              i.clearRect(0, 0, e, t),
              i.scale(n, n),
              (i.dpr = n),
              { _offscreenCanvas: r, _ctx: i }
            );
          }),
          (e.prototype.$set = function (e, t, n) {
            e && "object" == typeof e && _(e, t, n);
          }),
          (e.prototype.$computed = function (e, t, n) {
            var r = this;
            Object.defineProperty(e, t, {
              get: function () {
                return n.call(r);
              },
            });
          }),
          (e.prototype.$watch = function (e, t, n) {
            void 0 === n && (n = {}),
              "object" == typeof t && (t = (n = t).handler);
            var r = new E(this, e, t, n);
            return n.immediate && t.call(this, r.value), function () {};
          }),
          (e.version = "1.7.26"),
          e
        );
      })(),
      L = function (e) {
        return (Math.PI / 180) * e;
      },
      O = function (e) {
        for (var t = [], n = 1; n < arguments.length; n++)
          t[n - 1] = arguments[n];
        var r = t[0],
          i = t[1],
          a = t[2],
          o = t[3],
          l = t[4],
          u = Math.min(a, o),
          s = Math.PI;
        l > u / 2 && (l = u / 2),
          e.beginPath(),
          e.moveTo(r + l, i),
          e.lineTo(r + l, i),
          e.lineTo(r + a - l, i),
          e.arc(r + a - l, i + l, l, -s / 2, 0),
          e.lineTo(r + a, i + o - l),
          e.arc(r + a - l, i + o - l, l, 0, s / 2),
          e.lineTo(r + l, i + o),
          e.arc(r + l, i + o - l, l, s / 2, s),
          e.lineTo(r, i + l),
          e.arc(r + l, i + l, l, s, -s / 2),
          e.closePath();
      },
      I = function (e, t, n, r) {
        return e >= r && (e = r), n * (e /= r) * e + t;
      },
      z = function (e, t, n, r) {
        return e >= r && (e = r), -n * (e /= r) * (e - 2) + t;
      },
      P = (function (e) {
        function t(t, n) {
          var r,
            i = e.call(this, t, { width: n.width, height: n.height }) || this;
          return (
            (i.blocks = []),
            (i.prizes = []),
            (i.buttons = []),
            (i.defaultConfig = {}),
            (i.defaultStyle = {}),
            (i._defaultConfig = {}),
            (i._defaultStyle = {}),
            (i.Radius = 0),
            (i.prizeRadius = 0),
            (i.prizeDeg = 0),
            (i.prizeAng = 0),
            (i.rotateDeg = 0),
            (i.maxBtnRadius = 0),
            (i.startTime = 0),
            (i.endTime = 0),
            (i.stopDeg = 0),
            (i.endDeg = 0),
            (i.FPS = 16.6),
            (i.step = 0),
            (i.ImageCache = new Map()),
            i.initData(n),
            i.initWatch(),
            i.initComputed(),
            null === (r = t.beforeCreate) || void 0 === r || r.call(i),
            i.init(),
            i
          );
        }
        return (
          a(t, e),
          (t.prototype.resize = function () {
            var t, n;
            e.prototype.resize.call(this),
              (this.Radius = Math.min(this.boxWidth, this.boxHeight) / 2),
              this.ctx.translate(this.Radius, this.Radius),
              this.draw(),
              null === (n = (t = this.config).afterResize) ||
                void 0 === n ||
                n.call(t);
          }),
          (t.prototype.initLucky = function () {
            (this.Radius = 0),
              (this.prizeRadius = 0),
              (this.prizeDeg = 0),
              (this.prizeAng = 0),
              (this.rotateDeg = 0),
              (this.maxBtnRadius = 0),
              (this.startTime = 0),
              (this.endTime = 0),
              (this.stopDeg = 0),
              (this.endDeg = 0),
              (this.FPS = 16.6),
              (this.prizeFlag = -1),
              (this.step = 0),
              e.prototype.initLucky.call(this);
          }),
          (t.prototype.initData = function (e) {
            this.$set(this, "width", e.width),
              this.$set(this, "height", e.height),
              this.$set(this, "blocks", e.blocks || []),
              this.$set(this, "prizes", e.prizes || []),
              this.$set(this, "buttons", e.buttons || []),
              this.$set(this, "defaultConfig", e.defaultConfig || {}),
              this.$set(this, "defaultStyle", e.defaultStyle || {}),
              this.$set(this, "startCallback", e.start),
              this.$set(this, "endCallback", e.end);
          }),
          (t.prototype.initComputed = function () {
            var e = this;
            this.$computed(this, "_defaultConfig", function () {
              return o(
                {
                  gutter: "0px",
                  offsetDegree: 0,
                  speed: 20,
                  speedFunction: "quad",
                  accelerationTime: 2500,
                  decelerationTime: 2500,
                  stopRange: 0,
                },
                e.defaultConfig
              );
            }),
              this.$computed(this, "_defaultStyle", function () {
                return o(
                  {
                    fontSize: "18px",
                    fontColor: "#000",
                    fontStyle: "sans-serif",
                    fontWeight: "400",
                    background: "rgba(0,0,0,0)",
                    wordWrap: !0,
                    lengthLimit: "90%",
                  },
                  e.defaultStyle
                );
              });
          }),
          (t.prototype.initWatch = function () {
            var e = this;
            this.$watch("width", function (t) {
              (e.data.width = t), e.resize();
            }),
              this.$watch("height", function (t) {
                (e.data.height = t), e.resize();
              }),
              this.$watch(
                "blocks",
                function (t) {
                  e.initImageCache();
                },
                { deep: !0 }
              ),
              this.$watch(
                "prizes",
                function (t) {
                  e.initImageCache();
                },
                { deep: !0 }
              ),
              this.$watch(
                "buttons",
                function (t) {
                  e.initImageCache();
                },
                { deep: !0 }
              ),
              this.$watch(
                "defaultConfig",
                function () {
                  return e.draw();
                },
                { deep: !0 }
              ),
              this.$watch(
                "defaultStyle",
                function () {
                  return e.draw();
                },
                { deep: !0 }
              ),
              this.$watch("startCallback", function () {
                return e.init();
              }),
              this.$watch("endCallback", function () {
                return e.init();
              });
          }),
          (t.prototype.init = function () {
            var e, t;
            return l(this, void 0, void 0, function () {
              var n;
              return u(this, function (r) {
                switch (r.label) {
                  case 0:
                    return (
                      this.initLucky(),
                      (n = this.config),
                      null === (e = n.beforeInit) ||
                        void 0 === e ||
                        e.call(this),
                      this.draw(),
                      this.draw(),
                      [4, this.initImageCache()]
                    );
                  case 1:
                    return (
                      r.sent(),
                      null === (t = n.afterInit) ||
                        void 0 === t ||
                        t.call(this),
                      [2]
                    );
                }
              });
            });
          }),
          (t.prototype.initImageCache = function () {
            var e = this;
            return new Promise(function (t) {
              var n = {
                blocks: e.blocks.map(function (e) {
                  return e.imgs;
                }),
                prizes: e.prizes.map(function (e) {
                  return e.imgs;
                }),
                buttons: e.buttons.map(function (e) {
                  return e.imgs;
                }),
              };
              Object.keys(n).forEach(function (r) {
                var i = n[r],
                  a = [];
                i &&
                  i.forEach(function (t, n) {
                    t &&
                      t.forEach(function (t, i) {
                        a.push(e.loadAndCacheImg(r, n, i));
                      });
                  }),
                  Promise.all(a).then(function () {
                    e.draw(), t();
                  });
              });
            });
          }),
          (t.prototype.handleClick = function (e) {
            var t,
              n = this.ctx;
            n.beginPath(),
              n.arc(0, 0, this.maxBtnRadius, 0, 2 * Math.PI, !1),
              n.isPointInPath(e.offsetX, e.offsetY) &&
                0 === this.step &&
                (null === (t = this.startCallback) ||
                  void 0 === t ||
                  t.call(this, e));
          }),
          (t.prototype.loadAndCacheImg = function (e, t, n) {
            return l(this, void 0, void 0, function () {
              var r = this;
              return u(this, function (i) {
                return [
                  2,
                  new Promise(function (i, a) {
                    var o = r[e][t];
                    if (o && o.imgs) {
                      var s = o.imgs[n];
                      s &&
                        r
                          .loadImg(s.src, s)
                          .then(function (e) {
                            return l(r, void 0, void 0, function () {
                              return u(this, function (t) {
                                switch (t.label) {
                                  case 0:
                                    return "function" != typeof s.formatter
                                      ? [3, 2]
                                      : [
                                          4,
                                          Promise.resolve(
                                            s.formatter.call(this, e)
                                          ),
                                        ];
                                  case 1:
                                    (e = t.sent()), (t.label = 2);
                                  case 2:
                                    return (
                                      this.ImageCache.set(s.src, e), i(), [2]
                                    );
                                }
                              });
                            });
                          })
                          .catch(function (r) {
                            console.error(
                              e + "[" + t + "].imgs[" + n + "] " + r
                            ),
                              a();
                          });
                    }
                  }),
                ];
              });
            });
          }),
          (t.prototype.drawBlock = function (e, t, n) {
            var r = this,
              i = this.ctx;
            p(t.background) &&
              (i.beginPath(),
              (i.fillStyle = t.background),
              i.arc(0, 0, e, 0, 2 * Math.PI, !1),
              i.fill()),
              t.imgs &&
                t.imgs.forEach(function (t, n) {
                  var a = r.ImageCache.get(t.src);
                  if (a) {
                    var o = r.computedWidthAndHeight(a, t, 2 * e, 2 * e),
                      l = o[0],
                      u = o[1],
                      s = [
                        r.getOffsetX(l) + r.getLength(t.left, 2 * e),
                        r.getLength(t.top, 2 * e) - e,
                      ],
                      c = s[0],
                      f = s[1];
                    i.save(),
                      t.rotate && i.rotate(L(r.rotateDeg)),
                      r.drawImage(i, a, c, f, l, u),
                      i.restore();
                  }
                });
          }),
          (t.prototype.draw = function () {
            var e,
              t,
              n = this,
              r = this,
              i = r.config,
              a = r.ctx,
              o = r._defaultConfig,
              l = r._defaultStyle;
            null === (e = i.beforeDraw) || void 0 === e || e.call(this, a),
              a.clearRect(
                -this.Radius,
                -this.Radius,
                2 * this.Radius,
                2 * this.Radius
              ),
              (this.prizeRadius = this.blocks.reduce(function (e, t, r) {
                return (
                  n.drawBlock(e, t, r),
                  e - n.getLength(t.padding && t.padding.split(" ")[0])
                );
              }, this.Radius)),
              (this.prizeDeg = 360 / this.prizes.length),
              (this.prizeAng = L(this.prizeDeg));
            var u = this.prizeRadius * Math.sin(this.prizeAng / 2) * 2,
              s = L(this.rotateDeg - 90 + this.prizeDeg / 2 + o.offsetDegree),
              c = function (e, t) {
                return (
                  n.getOffsetX(a.measureText(t).width) + n.getLength(e.left, u)
                );
              },
              h = function (e, t, r) {
                var i =
                  e.lineHeight || l.lineHeight || e.fontSize || l.fontSize;
                return n.getLength(e.top, t) + (r + 1) * n.getLength(i);
              };
            a.save(),
              this.prizes.forEach(function (e, t) {
                var r = s + t * n.prizeAng,
                  i = n.prizeRadius - n.maxBtnRadius,
                  v = e.background || l.background;
                p(v) &&
                  ((a.fillStyle = v),
                  (function (e, t, n, r, i, a) {
                    e.beginPath();
                    var o,
                      l,
                      u = L((90 / Math.PI / n) * a),
                      s = r + u,
                      c = i - u;
                    e.arc(0, 0, n, s, c, !1),
                      e.lineTo.apply(
                        e,
                        ((o = (r + i) / 2),
                        (l = a / 2 / Math.abs(Math.sin((r - i) / 2))),
                        [
                          +(Math.cos(o) * l).toFixed(8),
                          +(Math.sin(o) * l).toFixed(8),
                        ])
                      ),
                      e.closePath();
                  })(
                    a,
                    n.maxBtnRadius,
                    n.prizeRadius,
                    r - n.prizeAng / 2,
                    r + n.prizeAng / 2,
                    n.getLength(o.gutter)
                  ),
                  a.fill());
                var m = Math.cos(r) * n.prizeRadius,
                  y = Math.sin(r) * n.prizeRadius;
                a.translate(m, y),
                  a.rotate(r + L(90)),
                  e.imgs &&
                    e.imgs.forEach(function (e, t) {
                      var r = n.ImageCache.get(e.src);
                      if (r) {
                        var o = n.computedWidthAndHeight(
                            r,
                            e,
                            n.prizeAng * n.prizeRadius,
                            i
                          ),
                          l = o[0],
                          s = o[1],
                          c = [
                            n.getOffsetX(l) + n.getLength(e.left, u),
                            n.getLength(e.top, i),
                          ],
                          f = c[0],
                          d = c[1];
                        n.drawImage(a, r, f, d, l, s);
                      }
                    }),
                  e.fonts &&
                    e.fonts.forEach(function (e) {
                      var t = e.fontColor || l.fontColor,
                        r = e.fontWeight || l.fontWeight,
                        u = n.getLength(e.fontSize || l.fontSize),
                        s = e.fontStyle || l.fontStyle,
                        p = f(e, "wordWrap") ? e.wordWrap : l.wordWrap,
                        v = e.lengthLimit || l.lengthLimit,
                        m = e.lineClamp || l.lineClamp;
                      (a.fillStyle = t),
                        (a.font = r + " " + (u >> 0) + "px " + s);
                      var y = String(e.text);
                      (p
                        ? g(
                            a,
                            d(y),
                            function (t) {
                              var r =
                                (n.prizeRadius - h(e, i, t.length)) *
                                  Math.tan(n.prizeAng / 2) *
                                  2 -
                                n.getLength(o.gutter);
                              return n.getLength(v, r);
                            },
                            m
                          )
                        : y.split("\n")
                      )
                        .filter(function (e) {
                          return !!e;
                        })
                        .forEach(function (t, n) {
                          a.fillText(t, c(e, t), h(e, i, n));
                        });
                    }),
                  a.rotate(L(360) - r - L(90)),
                  a.translate(-m, -y);
              }),
              a.restore(),
              this.buttons.forEach(function (e, t) {
                var r = n.getLength(e.radius, n.prizeRadius);
                (n.maxBtnRadius = Math.max(n.maxBtnRadius, r)),
                  p(e.background) &&
                    (a.beginPath(),
                    (a.fillStyle = e.background),
                    a.arc(0, 0, r, 0, 2 * Math.PI, !1),
                    a.fill()),
                  e.pointer &&
                    p(e.background) &&
                    (a.beginPath(),
                    (a.fillStyle = e.background),
                    a.moveTo(-r, 0),
                    a.lineTo(r, 0),
                    a.lineTo(0, 2 * -r),
                    a.closePath(),
                    a.fill()),
                  e.imgs &&
                    e.imgs.forEach(function (e, t) {
                      var i = n.ImageCache.get(e.src);
                      if (i) {
                        var o = n.computedWidthAndHeight(i, e, 2 * r, 2 * r),
                          l = o[0],
                          u = o[1],
                          s = [
                            n.getOffsetX(l) + n.getLength(e.left, r),
                            n.getLength(e.top, r),
                          ],
                          c = s[0],
                          f = s[1];
                        n.drawImage(a, i, c, f, l, u);
                      }
                    }),
                  e.fonts &&
                    e.fonts.forEach(function (e) {
                      var t = e.fontColor || l.fontColor,
                        i = e.fontWeight || l.fontWeight,
                        o = n.getLength(e.fontSize || l.fontSize),
                        u = e.fontStyle || l.fontStyle;
                      (a.fillStyle = t),
                        (a.font = i + " " + (o >> 0) + "px " + u),
                        String(e.text)
                          .split("\n")
                          .forEach(function (t, n) {
                            a.fillText(t, c(e, t), h(e, r, n));
                          });
                    });
              }),
              null === (t = i.afterDraw) || void 0 === t || t.call(this, a);
          }),
          (t.prototype.carveOnGunwaleOfAMovingBoat = function () {
            var e = this,
              t = e._defaultConfig,
              n = e.prizeFlag,
              r = e.prizeDeg,
              i = e.rotateDeg;
            this.endTime = Date.now();
            for (
              var a = (this.stopDeg = i),
                o = t.speed,
                l = (Math.random() * r - r / 2) * this.getLength(t.stopRange),
                u = 0,
                s = 0,
                c = 0;
              ++u;

            ) {
              var f = 360 * u - n * r - i - t.offsetDegree + l - r / 2,
                d = z(this.FPS, a, f, t.decelerationTime) - a;
              if (d > o) {
                this.endDeg = o - s > d - o ? f : c;
                break;
              }
              (c = f), (s = d);
            }
          }),
          (t.prototype.play = function () {
            var e, t;
            0 === this.step &&
              ((this.startTime = Date.now()),
              (this.prizeFlag = void 0),
              (this.step = 1),
              null === (t = (e = this.config).afterStart) ||
                void 0 === t ||
                t.call(e),
              this.run());
          }),
          (t.prototype.stop = function (e) {
            if (0 !== this.step && 3 !== this.step) {
              if (!e && 0 !== e) {
                var t = this.prizes.map(function (e) {
                  return e.range;
                });
                e = v(t);
              }
              e < 0
                ? ((this.step = 0), (this.prizeFlag = -1))
                : ((this.step = 2), (this.prizeFlag = e % this.prizes.length));
            }
          }),
          (t.prototype.run = function (e) {
            var t;
            void 0 === e && (e = 0);
            var n = this,
              r = n.rAF,
              i = n.step,
              a = n.prizeFlag,
              o = n._defaultConfig,
              l = o.accelerationTime,
              u = o.decelerationTime,
              s = o.speed;
            if (0 !== i) {
              if (-1 !== a) {
                3 !== i || this.endDeg || this.carveOnGunwaleOfAMovingBoat();
                var c = Date.now() - this.startTime,
                  f = Date.now() - this.endTime,
                  d = this.rotateDeg;
                if (1 === i || c < l) {
                  this.FPS = c / e;
                  var p = I(c, 0, s, l);
                  p === s && (this.step = 2), (d += p % 360);
                } else
                  2 === i
                    ? ((d += s % 360),
                      void 0 !== a &&
                        a >= 0 &&
                        ((this.step = 3),
                        (this.stopDeg = 0),
                        (this.endDeg = 0)))
                    : 3 === i
                    ? ((d = z(f, this.stopDeg, this.endDeg, u)),
                      f >= u && (this.step = 0))
                    : this.stop(-1);
                (this.rotateDeg = d),
                  this.draw(),
                  r(this.run.bind(this, e + 1));
              }
            } else
              null === (t = this.endCallback) ||
                void 0 === t ||
                t.call(
                  this,
                  this.prizes.find(function (e, t) {
                    return t === a;
                  }) || {}
                );
          }),
          (t.prototype.conversionAxis = function (e, t) {
            var n = this.config;
            return [e / n.dpr - this.Radius, t / n.dpr - this.Radius];
          }),
          t
        );
      })(N),
      T = (function (e) {
        function t(t, n) {
          var r,
            i = e.call(this, t, { width: n.width, height: n.height }) || this;
          return (
            (i.rows = 3),
            (i.cols = 3),
            (i.blocks = []),
            (i.prizes = []),
            (i.buttons = []),
            (i.defaultConfig = {}),
            (i.defaultStyle = {}),
            (i.activeStyle = {}),
            (i._defaultConfig = {}),
            (i._defaultStyle = {}),
            (i._activeStyle = {}),
            (i.cellWidth = 0),
            (i.cellHeight = 0),
            (i.startTime = 0),
            (i.endTime = 0),
            (i.currIndex = 0),
            (i.stopIndex = 0),
            (i.endIndex = 0),
            (i.demo = !1),
            (i.timer = 0),
            (i.FPS = 16.6),
            (i.step = 0),
            (i.prizeFlag = -1),
            (i.cells = []),
            (i.ImageCache = new Map()),
            i.initData(n),
            i.initWatch(),
            i.initComputed(),
            null === (r = t.beforeCreate) || void 0 === r || r.call(i),
            i.init(),
            i
          );
        }
        return (
          a(t, e),
          (t.prototype.resize = function () {
            var t, n;
            e.prototype.resize.call(this),
              this.draw(),
              null === (n = (t = this.config).afterResize) ||
                void 0 === n ||
                n.call(t);
          }),
          (t.prototype.initLucky = function () {
            (this.cellWidth = 0),
              (this.cellHeight = 0),
              (this.startTime = 0),
              (this.endTime = 0),
              (this.currIndex = 0),
              (this.stopIndex = 0),
              (this.endIndex = 0),
              (this.demo = !1),
              (this.timer = 0),
              (this.FPS = 16.6),
              (this.prizeFlag = -1),
              (this.step = 0),
              e.prototype.initLucky.call(this);
          }),
          (t.prototype.initData = function (e) {
            this.$set(this, "width", e.width),
              this.$set(this, "height", e.height),
              this.$set(this, "rows", Number(e.rows) || 3),
              this.$set(this, "cols", Number(e.cols) || 3),
              this.$set(this, "blocks", e.blocks || []),
              this.$set(this, "prizes", e.prizes || []),
              this.$set(this, "buttons", e.buttons || []),
              this.$set(this, "button", e.button),
              this.$set(this, "defaultConfig", e.defaultConfig || {}),
              this.$set(this, "defaultStyle", e.defaultStyle || {}),
              this.$set(this, "activeStyle", e.activeStyle || {}),
              this.$set(this, "startCallback", e.start),
              this.$set(this, "endCallback", e.end);
          }),
          (t.prototype.initComputed = function () {
            var e = this;
            this.$computed(this, "_defaultConfig", function () {
              var t = o(
                {
                  gutter: 5,
                  speed: 20,
                  accelerationTime: 2500,
                  decelerationTime: 2500,
                },
                e.defaultConfig
              );
              return (
                (t.gutter = e.getLength(t.gutter)), (t.speed = t.speed / 40), t
              );
            }),
              this.$computed(this, "_defaultStyle", function () {
                return o(
                  {
                    borderRadius: 20,
                    fontColor: "#000",
                    fontSize: "18px",
                    fontStyle: "sans-serif",
                    fontWeight: "400",
                    background: "rgba(0,0,0,0)",
                    shadow: "",
                    wordWrap: !0,
                    lengthLimit: "90%",
                  },
                  e.defaultStyle
                );
              }),
              this.$computed(this, "_activeStyle", function () {
                return o({ background: "#ffce98", shadow: "" }, e.activeStyle);
              });
          }),
          (t.prototype.initWatch = function () {
            var e = this;
            this.$watch("width", function (t) {
              (e.data.width = t), e.resize();
            }),
              this.$watch("height", function (t) {
                (e.data.height = t), e.resize();
              }),
              this.$watch(
                "blocks",
                function (t) {
                  e.initImageCache();
                },
                { deep: !0 }
              ),
              this.$watch(
                "prizes",
                function (t) {
                  e.initImageCache();
                },
                { deep: !0 }
              ),
              this.$watch(
                "buttons",
                function (t) {
                  e.initImageCache();
                },
                { deep: !0 }
              ),
              this.$watch("rows", function () {
                return e.init();
              }),
              this.$watch("cols", function () {
                return e.init();
              }),
              this.$watch(
                "defaultConfig",
                function () {
                  return e.draw();
                },
                { deep: !0 }
              ),
              this.$watch(
                "defaultStyle",
                function () {
                  return e.draw();
                },
                { deep: !0 }
              ),
              this.$watch(
                "activeStyle",
                function () {
                  return e.draw();
                },
                { deep: !0 }
              ),
              this.$watch("startCallback", function () {
                return e.init();
              }),
              this.$watch("endCallback", function () {
                return e.init();
              });
          }),
          (t.prototype.init = function () {
            var e, t;
            return l(this, void 0, void 0, function () {
              var n;
              return u(this, function (r) {
                switch (r.label) {
                  case 0:
                    return (
                      this.initLucky(),
                      (n = this.config),
                      null === (e = n.beforeInit) ||
                        void 0 === e ||
                        e.call(this),
                      this.draw(),
                      [4, this.initImageCache()]
                    );
                  case 1:
                    return (
                      r.sent(),
                      null === (t = n.afterInit) ||
                        void 0 === t ||
                        t.call(this),
                      [2]
                    );
                }
              });
            });
          }),
          (t.prototype.initImageCache = function () {
            var e = this;
            return new Promise(function (t) {
              var n = e.buttons.map(function (e) {
                return e.imgs;
              });
              e.button && n.push(e.button.imgs);
              var r = {
                blocks: e.blocks.map(function (e) {
                  return e.imgs;
                }),
                prizes: e.prizes.map(function (e) {
                  return e.imgs;
                }),
                buttons: n,
              };
              Object.keys(r).forEach(function (n) {
                var i = r[n],
                  a = [];
                i &&
                  i.forEach(function (t, r) {
                    t &&
                      t.forEach(function (t, i) {
                        a.push(e.loadAndCacheImg(n, r, i));
                      });
                  }),
                  Promise.all(a).then(function () {
                    e.draw(), t();
                  });
              });
            });
          }),
          (t.prototype.handleClick = function (e) {
            var t = this,
              n = this.ctx;
            s(s([], this.buttons), [this.button]).forEach(function (r) {
              var i;
              if (r) {
                var a = t.getGeometricProperty([
                    r.x,
                    r.y,
                    r.col || 1,
                    r.row || 1,
                  ]),
                  o = a[0],
                  l = a[1],
                  u = a[2],
                  s = a[3];
                n.beginPath(),
                  n.rect(o, l, u, s),
                  n.isPointInPath(e.offsetX, e.offsetY) &&
                    0 === t.step &&
                    ("function" == typeof r.callback && r.callback.call(t, r),
                    null === (i = t.startCallback) ||
                      void 0 === i ||
                      i.call(t, e, r));
              }
            });
          }),
          (t.prototype.loadAndCacheImg = function (e, t, n) {
            return l(this, void 0, void 0, function () {
              var r = this;
              return u(this, function (i) {
                return [
                  2,
                  new Promise(function (i, a) {
                    var o = r[e][t];
                    if (
                      ("buttons" === e &&
                        !r.buttons.length &&
                        r.button &&
                        (o = r.button),
                      o && o.imgs)
                    ) {
                      var s = o.imgs[n];
                      if (s) {
                        var c = [
                          r.loadImg(s.src, s),
                          s.activeSrc &&
                            r.loadImg(s.activeSrc, s, "$activeResolve"),
                        ];
                        Promise.all(c)
                          .then(function (e) {
                            var t = e[0],
                              n = e[1];
                            return l(r, void 0, void 0, function () {
                              var e;
                              return u(this, function (r) {
                                switch (r.label) {
                                  case 0:
                                    return "function" !=
                                      typeof (e = s.formatter)
                                      ? [3, 3]
                                      : [4, Promise.resolve(e.call(this, t))];
                                  case 1:
                                    return (
                                      (t = r.sent()),
                                      n
                                        ? [4, Promise.resolve(e.call(this, n))]
                                        : [3, 3]
                                    );
                                  case 2:
                                    (n = r.sent()), (r.label = 3);
                                  case 3:
                                    return (
                                      this.ImageCache.set(s.src, t),
                                      n && this.ImageCache.set(s.activeSrc, n),
                                      i(),
                                      [2]
                                    );
                                }
                              });
                            });
                          })
                          .catch(function (r) {
                            console.error(
                              e + "[" + t + "].imgs[" + n + "] " + r
                            ),
                              a();
                          });
                      }
                    }
                  }),
                ];
              });
            });
          }),
          (t.prototype.draw = function () {
            var e,
              t,
              n = this,
              r = this,
              i = r.config,
              a = r.ctx,
              o = r._defaultConfig,
              l = r._defaultStyle,
              u = r._activeStyle;
            null === (e = i.beforeDraw) || void 0 === e || e.call(this, a),
              a.clearRect(0, 0, this.boxWidth, this.boxHeight),
              (this.cells = s(s([], this.prizes), this.buttons)),
              this.button && this.cells.push(this.button),
              this.cells.forEach(function (e) {
                (e.col = e.col || 1), (e.row = e.row || 1);
              }),
              (this.prizeArea = this.blocks.reduce(
                function (e, t, r) {
                  var i = e.x,
                    o = e.y,
                    l = e.w,
                    u = e.h,
                    s = h(t, n.getLength.bind(n)),
                    c = s[0],
                    f = s[1],
                    d = s[2],
                    v = s[3],
                    g = t.borderRadius ? n.getLength(t.borderRadius) : 0,
                    m = t.background;
                  return (
                    p(m) &&
                      ((a.fillStyle = n.handleBackground(i, o, l, u, m)),
                      O(a, i, o, l, u, g),
                      a.fill()),
                    t.imgs &&
                      t.imgs.forEach(function (e, t) {
                        var r = n.ImageCache.get(e.src);
                        if (r) {
                          var s = n.computedWidthAndHeight(r, e, l, u),
                            c = s[0],
                            f = s[1],
                            d = [
                              n.getOffsetX(c, l) + n.getLength(e.left, l),
                              n.getLength(e.top, u),
                            ],
                            p = d[0],
                            h = d[1];
                          n.drawImage(a, r, i + p, o + h, c, f);
                        }
                      }),
                    { x: i + d, y: o + c, w: l - d - v, h: u - c - f }
                  );
                },
                { x: 0, y: 0, w: this.boxWidth, h: this.boxHeight }
              )),
              (this.cellWidth =
                (this.prizeArea.w - o.gutter * (this.cols - 1)) / this.cols),
              (this.cellHeight =
                (this.prizeArea.h - o.gutter * (this.rows - 1)) / this.rows),
              this.cells.forEach(function (e, t) {
                var r = n.getGeometricProperty([e.x, e.y, e.col, e.row]),
                  o = r[0],
                  s = r[1],
                  c = r[2],
                  h = r[3],
                  v = !1;
                (void 0 === n.prizeFlag || n.prizeFlag > -1) &&
                  (v = t === n.currIndex % n.prizes.length >> 0);
                var m = v ? u.background : e.background || l.background;
                if (p(m)) {
                  var y = (v ? u.shadow : e.shadow || l.shadow)
                    .replace(/px/g, "")
                    .split(",")[0]
                    .split(" ")
                    .map(function (e, t) {
                      return t < 3 ? Number(e) : e;
                    });
                  4 === y.length &&
                    ((a.shadowColor = y[3]),
                    (a.shadowOffsetX = y[0] * i.dpr),
                    (a.shadowOffsetY = y[1] * i.dpr),
                    (a.shadowBlur = y[2]),
                    y[0] > 0 ? (c -= y[0]) : ((c += y[0]), (o -= y[0])),
                    y[1] > 0 ? (h -= y[1]) : ((h += y[1]), (s -= y[1]))),
                    (a.fillStyle = n.handleBackground(o, s, c, h, m));
                  var b = n.getLength(
                    e.borderRadius ? e.borderRadius : l.borderRadius
                  );
                  O(a, o, s, c, h, b),
                    a.fill(),
                    (a.shadowColor = "rgba(0, 0, 0, 0)"),
                    (a.shadowOffsetX = 0),
                    (a.shadowOffsetY = 0),
                    (a.shadowBlur = 0);
                }
                t >= n.prizes.length && (t -= n.prizes.length),
                  e.imgs &&
                    e.imgs.forEach(function (e, t) {
                      var r = n.ImageCache.get(e.src),
                        i = n.ImageCache.get(e.activeSrc);
                      if (r) {
                        var l = (v && i) || r;
                        if (l) {
                          var u = n.computedWidthAndHeight(l, e, c, h),
                            f = u[0],
                            d = u[1],
                            p = [
                              o + n.getOffsetX(f, c) + n.getLength(e.left, c),
                              s + n.getLength(e.top, h),
                            ],
                            g = p[0],
                            m = p[1];
                          n.drawImage(a, l, g, m, f, d);
                        }
                      }
                    }),
                  e.fonts &&
                    e.fonts.forEach(function (e) {
                      var t =
                          v && u.fontStyle
                            ? u.fontStyle
                            : e.fontStyle || l.fontStyle,
                        r =
                          v && u.fontWeight
                            ? u.fontWeight
                            : e.fontWeight || l.fontWeight,
                        i =
                          v && u.fontSize
                            ? n.getLength(u.fontSize)
                            : n.getLength(e.fontSize || l.fontSize),
                        p =
                          v && u.lineHeight
                            ? u.lineHeight
                            : e.lineHeight ||
                              l.lineHeight ||
                              e.fontSize ||
                              l.fontSize,
                        m = f(e, "wordWrap") ? e.wordWrap : l.wordWrap,
                        y = e.lengthLimit || l.lengthLimit,
                        b = e.lineClamp || l.lineClamp;
                      (a.font = r + " " + (i >> 0) + "px " + t),
                        (a.fillStyle =
                          v && u.fontColor
                            ? u.fontColor
                            : e.fontColor || l.fontColor);
                      var w = [],
                        k = String(e.text);
                      if (m) {
                        var x = n.getLength(y, c);
                        w = g(
                          a,
                          d(k),
                          function () {
                            return x;
                          },
                          b
                        );
                      } else w = k.split("\n");
                      w.forEach(function (t, r) {
                        a.fillText(
                          t,
                          o +
                            n.getOffsetX(a.measureText(t).width, c) +
                            n.getLength(e.left, c),
                          s + n.getLength(e.top, h) + (r + 1) * n.getLength(p)
                        );
                      });
                    });
              }),
              null === (t = i.afterDraw) || void 0 === t || t.call(this, a);
          }),
          (t.prototype.handleBackground = function (e, t, n, r, i) {
            var a = this.ctx;
            return (
              i.includes("linear-gradient") &&
                (i = (function (e, t, n, r, i, a) {
                  var o = /linear-gradient\((.+)\)/
                      .exec(a)[1]
                      .split(",")
                      .map(function (e) {
                        return e.trim();
                      }),
                    l = o.shift(),
                    u = [0, 0, 0, 0];
                  if (l.includes("deg")) {
                    var s = function (e) {
                      return Math.tan((e / 180) * Math.PI);
                    };
                    (l = l.slice(0, -3) % 360) >= 0 && l < 45
                      ? (u = [t, n + i, t + r, n + i - r * s(l - 0)])
                      : l >= 45 && l < 90
                      ? (u = [t, n + i, t + r - i * s(l - 45), n])
                      : l >= 90 && l < 135
                      ? (u = [t + r, n + i, t + r - i * s(l - 90), n])
                      : l >= 135 && l < 180
                      ? (u = [t + r, n + i, t, n + r * s(l - 135)])
                      : l >= 180 && l < 225
                      ? (u = [t + r, n, t, n + r * s(l - 180)])
                      : l >= 225 && l < 270
                      ? (u = [t + r, n, t + i * s(l - 225), n + i])
                      : l >= 270 && l < 315
                      ? (u = [t, n, t + i * s(l - 270), n + i])
                      : l >= 315 &&
                        l < 360 &&
                        (u = [t, n, t + r, n + i - r * s(l - 315)]);
                  } else
                    l.includes("top")
                      ? (u = [t, n + i, t, n])
                      : l.includes("bottom")
                      ? (u = [t, n, t, n + i])
                      : l.includes("left")
                      ? (u = [t + r, n, t, n])
                      : l.includes("right") && (u = [t, n, t + r, n]);
                  var c = e.createLinearGradient.apply(
                    e,
                    u.map(function (e) {
                      return e >> 0;
                    })
                  );
                  return o.reduce(function (e, t, n) {
                    var r = t.split(" ");
                    return (
                      1 === r.length
                        ? e.addColorStop(n, r[0])
                        : 2 === r.length && e.addColorStop.apply(e, r),
                      e
                    );
                  }, c);
                })(a, e, t, n, r, i)),
              i
            );
          }),
          (t.prototype.carveOnGunwaleOfAMovingBoat = function () {
            var e = this,
              t = e._defaultConfig,
              n = e.prizeFlag,
              r = e.currIndex;
            this.endTime = Date.now();
            for (
              var i = (this.stopIndex = r), a = t.speed, o = 0, l = 0, u = 0;
              ++o;

            ) {
              var s = this.prizes.length * o + n - i,
                c = z(this.FPS, i, s, t.decelerationTime) - i;
              if (c > a) {
                this.endIndex = a - l > c - a ? s : u;
                break;
              }
              (u = s), (l = c);
            }
          }),
          (t.prototype.play = function () {
            var e, t;
            0 === this.step &&
              ((this.startTime = Date.now()),
              (this.prizeFlag = void 0),
              (this.step = 1),
              null === (t = (e = this.config).afterStart) ||
                void 0 === t ||
                t.call(e),
              this.run());
          }),
          (t.prototype.stop = function (e) {
            if (0 !== this.step && 3 !== this.step) {
              if (!e && 0 !== e) {
                var t = this.prizes.map(function (e) {
                  return e.range;
                });
                e = v(t);
              }
              e < 0
                ? ((this.step = 0), (this.prizeFlag = -1))
                : ((this.step = 2), (this.prizeFlag = e % this.prizes.length));
            }
          }),
          (t.prototype.run = function (e) {
            var t;
            void 0 === e && (e = 0);
            var n = this,
              r = n.rAF,
              i = n.step,
              a = n.prizes,
              o = n.prizeFlag,
              l = n._defaultConfig,
              u = l.accelerationTime,
              s = l.decelerationTime,
              c = l.speed;
            if (0 !== i) {
              if (-1 !== o) {
                3 !== i || this.endIndex || this.carveOnGunwaleOfAMovingBoat();
                var f = Date.now() - this.startTime,
                  d = Date.now() - this.endTime,
                  p = this.currIndex;
                if (1 === i || f < u) {
                  this.FPS = f / e;
                  var h = I(f, 0.1, c - 0.1, u);
                  h === c && (this.step = 2), (p += h % a.length);
                } else
                  2 === i
                    ? ((p += c % a.length),
                      void 0 !== o &&
                        o >= 0 &&
                        ((this.step = 3),
                        (this.stopIndex = 0),
                        (this.endIndex = 0)))
                    : 3 === i
                    ? ((p = z(d, this.stopIndex, this.endIndex, s)),
                      d >= s && (this.step = 0))
                    : this.stop(-1);
                (this.currIndex = p),
                  this.draw(),
                  r(this.run.bind(this, e + 1));
              }
            } else
              null === (t = this.endCallback) ||
                void 0 === t ||
                t.call(
                  this,
                  this.prizes.find(function (e, t) {
                    return t === o;
                  }) || {}
                );
          }),
          (t.prototype.getGeometricProperty = function (e) {
            var t = e[0],
              n = e[1],
              r = e[2],
              i = void 0 === r ? 1 : r,
              a = e[3],
              o = void 0 === a ? 1 : a,
              l = this.cellWidth,
              u = this.cellHeight,
              s = this._defaultConfig.gutter,
              c = [
                this.prizeArea.x + (l + s) * t,
                this.prizeArea.y + (u + s) * n,
              ];
            return (
              i && o && c.push(l * i + s * (i - 1), u * o + s * (o - 1)), c
            );
          }),
          (t.prototype.conversionAxis = function (e, t) {
            var n = this.config;
            return [e / n.dpr, t / n.dpr];
          }),
          t
        );
      })(N),
      j = (function (e) {
        function t(t, n) {
          var r,
            i = e.call(this, t, { width: n.width, height: n.height }) || this;
          return (
            (i.blocks = []),
            (i.prizes = []),
            (i.slots = []),
            (i.defaultConfig = {}),
            (i._defaultConfig = {}),
            (i.defaultStyle = {}),
            (i._defaultStyle = {}),
            (i.endCallback = function () {}),
            (i.cellWidth = 0),
            (i.cellHeight = 0),
            (i.cellAndSpacing = 0),
            (i.widthAndSpacing = 0),
            (i.heightAndSpacing = 0),
            (i.FPS = 16.6),
            (i.scroll = []),
            (i.stopScroll = []),
            (i.endScroll = []),
            (i.startTime = 0),
            (i.endTime = 0),
            (i.step = 0),
            (i.prizeFlag = void 0),
            (i.ImageCache = new Map()),
            i.initData(n),
            i.initWatch(),
            i.initComputed(),
            null === (r = t.beforeCreate) || void 0 === r || r.call(i),
            i.init(),
            i
          );
        }
        return (
          a(t, e),
          (t.prototype.resize = function () {
            var t, n;
            e.prototype.resize.call(this),
              this.draw(),
              null === (n = (t = this.config).afterResize) ||
                void 0 === n ||
                n.call(t);
          }),
          (t.prototype.initLucky = function () {
            (this.cellWidth = 0),
              (this.cellHeight = 0),
              (this.cellAndSpacing = 0),
              (this.widthAndSpacing = 0),
              (this.heightAndSpacing = 0),
              (this.FPS = 16.6),
              (this.scroll = []),
              (this.stopScroll = []),
              (this.endScroll = []),
              (this.startTime = 0),
              (this.endTime = 0),
              (this.prizeFlag = void 0),
              (this.step = 0),
              e.prototype.initLucky.call(this);
          }),
          (t.prototype.initData = function (e) {
            this.$set(this, "width", e.width),
              this.$set(this, "height", e.height),
              this.$set(this, "blocks", e.blocks || []),
              this.$set(this, "prizes", e.prizes || []),
              this.$set(this, "slots", e.slots || []),
              this.$set(this, "defaultConfig", e.defaultConfig || {}),
              this.$set(this, "defaultStyle", e.defaultStyle || {}),
              this.$set(this, "endCallback", e.end);
          }),
          (t.prototype.initComputed = function () {
            var e = this;
            this.$computed(this, "_defaultConfig", function () {
              var t = o(
                {
                  mode: "vertical",
                  rowSpacing: 0,
                  colSpacing: 5,
                  speed: 20,
                  direction: 1,
                  accelerationTime: 2500,
                  decelerationTime: 2500,
                },
                e.defaultConfig
              );
              return (
                (t.rowSpacing = e.getLength(t.rowSpacing)),
                (t.colSpacing = e.getLength(t.colSpacing)),
                t
              );
            }),
              this.$computed(this, "_defaultStyle", function () {
                return o(
                  {
                    borderRadius: 0,
                    fontColor: "#000",
                    fontSize: "18px",
                    fontStyle: "sans-serif",
                    fontWeight: "400",
                    background: "rgba(0,0,0,0)",
                    wordWrap: !0,
                    lengthLimit: "90%",
                  },
                  e.defaultStyle
                );
              });
          }),
          (t.prototype.initWatch = function () {
            var e = this;
            this.$watch("width", function (t) {
              (e.data.width = t), e.resize();
            }),
              this.$watch("height", function (t) {
                (e.data.height = t), e.resize();
              }),
              this.$watch(
                "blocks",
                function (t) {
                  e.initImageCache();
                },
                { deep: !0 }
              ),
              this.$watch(
                "prizes",
                function (t) {
                  e.initImageCache();
                },
                { deep: !0 }
              ),
              this.$watch(
                "slots",
                function (t) {
                  e.drawOffscreenCanvas(), e.draw();
                },
                { deep: !0 }
              ),
              this.$watch(
                "defaultConfig",
                function () {
                  return e.draw();
                },
                { deep: !0 }
              ),
              this.$watch(
                "defaultStyle",
                function () {
                  return e.draw();
                },
                { deep: !0 }
              ),
              this.$watch("endCallback", function () {
                return e.init();
              });
          }),
          (t.prototype.init = function () {
            var e, t;
            return l(this, void 0, void 0, function () {
              var n;
              return u(this, function (r) {
                switch (r.label) {
                  case 0:
                    return (
                      this.initLucky(),
                      (n = this.config),
                      null === (e = n.beforeInit) ||
                        void 0 === e ||
                        e.call(this),
                      this.drawOffscreenCanvas(),
                      this.draw(),
                      [4, this.initImageCache()]
                    );
                  case 1:
                    return (
                      r.sent(),
                      null === (t = n.afterInit) ||
                        void 0 === t ||
                        t.call(this),
                      [2]
                    );
                }
              });
            });
          }),
          (t.prototype.initImageCache = function () {
            var e = this;
            return new Promise(function (t) {
              var n = {
                blocks: e.blocks.map(function (e) {
                  return e.imgs;
                }),
                prizes: e.prizes.map(function (e) {
                  return e.imgs;
                }),
              };
              Object.keys(n).forEach(function (r) {
                var i = n[r],
                  a = [];
                i &&
                  i.forEach(function (t, n) {
                    t &&
                      t.forEach(function (t, i) {
                        a.push(e.loadAndCacheImg(r, n, i));
                      });
                  }),
                  Promise.all(a).then(function () {
                    e.drawOffscreenCanvas(), e.draw(), t();
                  });
              });
            });
          }),
          (t.prototype.loadAndCacheImg = function (e, t, n) {
            return l(this, void 0, void 0, function () {
              var r = this;
              return u(this, function (i) {
                return [
                  2,
                  new Promise(function (i, a) {
                    var o = r[e][t];
                    if (o && o.imgs) {
                      var s = o.imgs[n];
                      s &&
                        r
                          .loadImg(s.src, s)
                          .then(function (e) {
                            return l(r, void 0, void 0, function () {
                              return u(this, function (t) {
                                switch (t.label) {
                                  case 0:
                                    return "function" != typeof s.formatter
                                      ? [3, 2]
                                      : [
                                          4,
                                          Promise.resolve(
                                            s.formatter.call(this, e)
                                          ),
                                        ];
                                  case 1:
                                    (e = t.sent()), (t.label = 2);
                                  case 2:
                                    return (
                                      this.ImageCache.set(s.src, e), i(), [2]
                                    );
                                }
                              });
                            });
                          })
                          .catch(function (r) {
                            console.error(
                              e + "[" + t + "].imgs[" + n + "] " + r
                            ),
                              a();
                          });
                    }
                  }),
                ];
              });
            });
          }),
          (t.prototype.drawOffscreenCanvas = function () {
            var e = this,
              t = this._defaultConfig,
              n = this._defaultStyle,
              r = this.drawBlocks(),
              i = r.w,
              a = r.h,
              o = this.prizes.length,
              l = this.displacementWidthOrHeight(),
              u = l.cellWidth,
              s = l.cellHeight,
              c = l.widthAndSpacing,
              h = l.heightAndSpacing,
              v = new Array(o).fill(void 0).map(function (e, t) {
                return t;
              }),
              m = 0,
              y = 0;
            this.slots.forEach(function (t, n) {
              void 0 === e.scroll[n] && (e.scroll[n] = 0),
                (t.order = t.order || v);
              var r = t.order.length;
              (m = Math.max(m, i + c * r)), (y = Math.max(y, a + h * r));
            });
            var b = this.getOffscreenCanvas(m, y),
              w = b._offscreenCanvas,
              k = b._ctx;
            (this._offscreenCanvas = w),
              this.slots.forEach(function (r, i) {
                var a = u * i,
                  o = s * i,
                  l = 0,
                  v = (function (e, t) {
                    for (var n = {}, r = [], i = 0; i < e.length; i++)
                      n[i] = e[i];
                    for (i = 0; i < t.length; i++) {
                      var a = n[t[i]];
                      a && (r[i] = a);
                    }
                    return r;
                  })(e.prizes, r.order);
                if (v.length) {
                  v.forEach(function (i, v) {
                    if (i) {
                      r.order[v];
                      var m = c * v + t.colSpacing / 2,
                        y = h * v + t.rowSpacing / 2,
                        b = e.displacement([a, y, h], [m, o, c]),
                        w = b[0],
                        x = b[1],
                        S = b[2];
                      l += S;
                      var _ = i.background || n.background;
                      if (p(_)) {
                        var C = e.getLength(
                          f(i, "borderRadius") ? i.borderRadius : n.borderRadius
                        );
                        O(k, w, x, u, u, C), (k.fillStyle = _), k.fill();
                      }
                      i.imgs &&
                        i.imgs.forEach(function (t, n) {
                          var r = e.ImageCache.get(t.src);
                          if (r) {
                            var i = e.computedWidthAndHeight(r, t, u, s),
                              a = i[0],
                              o = i[1],
                              l = [
                                w + e.getOffsetX(a, u) + e.getLength(t.left, u),
                                x + e.getLength(t.top, s),
                              ],
                              c = l[0],
                              f = l[1];
                            e.drawImage(k, r, c, f, a, o);
                          }
                        }),
                        i.fonts &&
                          i.fonts.forEach(function (t) {
                            var r = t.fontStyle || n.fontStyle,
                              i = t.fontWeight || n.fontWeight,
                              a = e.getLength(t.fontSize || n.fontSize),
                              o =
                                t.lineHeight ||
                                n.lineHeight ||
                                t.fontSize ||
                                n.fontSize,
                              l = f(t, "wordWrap") ? t.wordWrap : n.wordWrap,
                              c = t.lengthLimit || n.lengthLimit,
                              p = t.lineClamp || n.lineClamp;
                            (k.font = i + " " + (a >> 0) + "px " + r),
                              (k.fillStyle = t.fontColor || n.fontColor);
                            var h = [],
                              v = String(t.text);
                            if (l) {
                              var m = e.getLength(c, u);
                              h = g(
                                k,
                                d(v),
                                function () {
                                  return m;
                                },
                                p
                              );
                            } else h = v.split("\n");
                            h.forEach(function (n, r) {
                              k.fillText(
                                n,
                                w +
                                  e.getOffsetX(k.measureText(n).width, u) +
                                  e.getLength(t.left, u),
                                x +
                                  e.getLength(t.top, s) +
                                  (r + 1) * e.getLength(o)
                              );
                            });
                          });
                    }
                  });
                  for (
                    var m = e.displacement([a, 0, u, l], [0, o, l, s]),
                      b = m[0],
                      x = m[1],
                      S = m[2],
                      _ = m[3],
                      C = l;
                    C < y + l;

                  ) {
                    var E = e.displacement([b, C], [C, x]),
                      N = E[0],
                      L = E[1];
                    e.drawImage(k, w, b, x, S, _, N, L, S, _), (C += l);
                  }
                }
              });
          }),
          (t.prototype.drawBlocks = function () {
            var e = this,
              t = this;
            t.config;
            var n = t.ctx;
            t._defaultConfig;
            var r = t._defaultStyle;
            return (this.prizeArea = this.blocks.reduce(
              function (t, i, a) {
                var o = t.x,
                  l = t.y,
                  u = t.w,
                  s = t.h,
                  c = h(i, e.getLength.bind(e)),
                  f = c[0],
                  d = c[1],
                  v = c[2],
                  g = c[3],
                  m = i.borderRadius ? e.getLength(i.borderRadius) : 0,
                  y = i.background || r.background;
                return (
                  p(y) && (O(n, o, l, u, s, m), (n.fillStyle = y), n.fill()),
                  i.imgs &&
                    i.imgs.forEach(function (t, r) {
                      var i = e.ImageCache.get(t.src);
                      if (i) {
                        var a = e.computedWidthAndHeight(i, t, u, s),
                          c = a[0],
                          f = a[1],
                          d = [
                            e.getOffsetX(c, u) + e.getLength(t.left, u),
                            e.getLength(t.top, s),
                          ],
                          p = d[0],
                          h = d[1];
                        e.drawImage(n, i, o + p, l + h, c, f);
                      }
                    }),
                  { x: o + v, y: l + f, w: u - v - g, h: s - f - d }
                );
              },
              { x: 0, y: 0, w: this.boxWidth, h: this.boxHeight }
            ));
          }),
          (t.prototype.draw = function () {
            var e,
              t = this,
              n = this,
              r = n.config,
              i = n.ctx;
            n._defaultConfig,
              n._defaultStyle,
              null === (e = r.beforeDraw) || void 0 === e || e.call(this, i),
              i.clearRect(0, 0, this.boxWidth, this.boxHeight);
            var a = this.drawBlocks(),
              o = a.x,
              l = a.y,
              u = a.w,
              s = a.h;
            if (this._offscreenCanvas) {
              var c = this,
                f = c.cellWidth,
                d = c.cellHeight,
                p = c.cellAndSpacing,
                h = c.widthAndSpacing,
                v = c.heightAndSpacing;
              this.slots.forEach(function (e, n) {
                var r = p * e.order.length,
                  a = t.displacement(-(s - v) / 2, -(u - h) / 2),
                  c = t.scroll[n] + a;
                c < 0 && (c = (c % r) + r), c > r && (c %= r);
                var g = t.displacement([f * n, c, f, s], [c, d * n, u, d]),
                  m = g[0],
                  y = g[1],
                  b = g[2],
                  w = g[3],
                  k = t.displacement(
                    [o + h * n, l, f, s],
                    [o, l + v * n, u, d]
                  ),
                  x = k[0],
                  S = k[1],
                  _ = k[2],
                  C = k[3];
                t.drawImage(i, t._offscreenCanvas, m, y, b, w, x, S, _, C);
              });
            }
          }),
          (t.prototype.carveOnGunwaleOfAMovingBoat = function () {
            var e = this,
              t = this,
              n = t._defaultConfig,
              r = t.prizeFlag,
              i = t.cellAndSpacing;
            (this.endTime = Date.now()),
              this.slots.forEach(function (t, a) {
                var o = t.order;
                if (o.length)
                  for (
                    var l = t.speed || n.speed,
                      u = t.direction || n.direction,
                      s = o.findIndex(function (e) {
                        return e === r[a];
                      }),
                      c = i * o.length,
                      f = (e.stopScroll[a] = e.scroll[a]),
                      d = 0;
                    ++d;

                  ) {
                    var p = i * s + c * d * u - f,
                      h = z(e.FPS, f, p, n.decelerationTime) - f;
                    if (Math.abs(h) > l) {
                      e.endScroll[a] = p;
                      break;
                    }
                  }
              });
          }),
          (t.prototype.play = function () {
            var e, t;
            0 === this.step &&
              ((this.startTime = Date.now()),
              (this.prizeFlag = void 0),
              (this.step = 1),
              null === (t = (e = this.config).afterStart) ||
                void 0 === t ||
                t.call(e),
              this.run());
          }),
          (t.prototype.stop = function (e) {
            var t;
            if (0 !== this.step && 3 !== this.step) {
              if ("number" == typeof e)
                this.prizeFlag = new Array(this.slots.length).fill(e);
              else {
                if (!c(e, "array"))
                  return (
                    this.stop(-1),
                    console.error(
                      "stop() \u65e0\u6cd5\u8bc6\u522b\u7684\u53c2\u6570\u7c7b\u578b " +
                        typeof e
                    )
                  );
                if (e.length !== this.slots.length)
                  return (
                    this.stop(-1),
                    console.error(
                      "stop([" +
                        e +
                        "]) \u53c2\u6570\u957f\u5ea6\u7684\u4e0d\u6b63\u786e"
                    )
                  );
                this.prizeFlag = e;
              }
              (
                null === (t = this.prizeFlag) || void 0 === t
                  ? void 0
                  : t.includes(-1)
              )
                ? ((this.prizeFlag = []), (this.step = 0))
                : (this.step = 2);
            }
          }),
          (t.prototype.run = function (e) {
            var t,
              n,
              r = this;
            void 0 === e && (e = 0);
            var i = this,
              a = i.rAF,
              o = i.step,
              l = i.prizeFlag,
              u = i._defaultConfig,
              s = i.cellAndSpacing,
              c = i.slots,
              f = u.accelerationTime,
              d = u.decelerationTime;
            if (
              0 !== this.step ||
              (null == l ? void 0 : l.length) !== c.length
            ) {
              if (void 0 === l || l.length) {
                3 !== this.step ||
                  this.endScroll.length ||
                  this.carveOnGunwaleOfAMovingBoat();
                var p = Date.now() - this.startTime,
                  h = Date.now() - this.endTime;
                c.forEach(function (t, n) {
                  var i = t.order;
                  if (i && i.length) {
                    var a = s * i.length,
                      v = Math.abs(t.speed || u.speed),
                      g = t.direction || u.direction,
                      m = 0,
                      y = r.scroll[n];
                    if (1 === o || p < f) {
                      r.FPS = p / e;
                      var b = I(p, 0, v, f);
                      b === v && (r.step = 2), (m = (y + b * g) % a);
                    } else if (2 === o)
                      (m = (y + v * g) % a),
                        (null == l ? void 0 : l.length) === c.length &&
                          ((r.step = 3),
                          (r.stopScroll = []),
                          (r.endScroll = []));
                    else if (3 === o && h) {
                      var w = r.stopScroll[n],
                        k = r.endScroll[n];
                      (m = z(h, w, k, d)), h >= d && (r.step = 0);
                    }
                    r.scroll[n] = m;
                  }
                }),
                  this.draw(),
                  a(this.run.bind(this, e + 1));
              }
            } else {
              for (var v = l[0], g = 0; g < c.length; g++) {
                var m = c[g],
                  y = l[g];
                if (
                  !(null === (t = m.order) || void 0 === t
                    ? void 0
                    : t.includes(y)) ||
                  v !== y
                ) {
                  v = -1;
                  break;
                }
              }
              null === (n = this.endCallback) ||
                void 0 === n ||
                n.call(
                  this,
                  this.prizes.find(function (e, t) {
                    return t === v;
                  }) || void 0
                );
            }
          }),
          (t.prototype.displacement = function (e, t) {
            return "horizontal" === this._defaultConfig.mode ? t : e;
          }),
          (t.prototype.displacementWidthOrHeight = function () {
            var e = this._defaultConfig.mode,
              t = this.slots.length,
              n = this._defaultConfig,
              r = n.colSpacing,
              i = n.rowSpacing,
              a = this.prizeArea || this.drawBlocks();
            a.x, a.y;
            var o,
              l,
              u = a.w,
              s = a.h,
              c = 0,
              f = 0;
            return (
              "horizontal" === e
                ? ((f = this.cellHeight = (s - i * (t - 1)) / t),
                  (c = this.cellWidth = f))
                : ((c = this.cellWidth = (u - r * (t - 1)) / t),
                  (f = this.cellHeight = c)),
              (o = this.widthAndSpacing = this.cellWidth + r),
              (l = this.heightAndSpacing = this.cellHeight + i),
              (this.cellAndSpacing = "horizontal" === e ? o : l),
              {
                cellWidth: c,
                cellHeight: f,
                widthAndSpacing: o,
                heightAndSpacing: l,
              }
            );
          }),
          t
        );
      })(N),
      R = n(3),
      A = n.n(R),
      D = n(0),
      F = n.n(D);
    function M(e) {
      return (M =
        "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
          ? function (e) {
              return typeof e;
            }
          : function (e) {
              return e &&
                "function" == typeof Symbol &&
                e.constructor === Symbol &&
                e !== Symbol.prototype
                ? "symbol"
                : typeof e;
            })(e);
    }
    function V() {
      V = function () {
        return t;
      };
      var e,
        t = {},
        n = Object.prototype,
        r = n.hasOwnProperty,
        i =
          Object.defineProperty ||
          function (e, t, n) {
            e[t] = n.value;
          },
        a = "function" == typeof Symbol ? Symbol : {},
        o = a.iterator || "@@iterator",
        l = a.asyncIterator || "@@asyncIterator",
        u = a.toStringTag || "@@toStringTag";
      function s(e, t, n) {
        return (
          Object.defineProperty(e, t, {
            value: n,
            enumerable: !0,
            configurable: !0,
            writable: !0,
          }),
          e[t]
        );
      }
      try {
        s({}, "");
      } catch (e) {
        s = function (e, t, n) {
          return (e[t] = n);
        };
      }
      function c(e, t, n, r) {
        var a = t && t.prototype instanceof g ? t : g,
          o = Object.create(a.prototype),
          l = new O(r || []);
        return i(o, "_invoke", { value: C(e, n, l) }), o;
      }
      function f(e, t, n) {
        try {
          return { type: "normal", arg: e.call(t, n) };
        } catch (e) {
          return { type: "throw", arg: e };
        }
      }
      t.wrap = c;
      var d = "suspendedStart",
        p = "executing",
        h = "completed",
        v = {};
      function g() {}
      function m() {}
      function y() {}
      var b = {};
      s(b, o, function () {
        return this;
      });
      var w = Object.getPrototypeOf,
        k = w && w(w(I([])));
      k && k !== n && r.call(k, o) && (b = k);
      var x = (y.prototype = g.prototype = Object.create(b));
      function S(e) {
        ["next", "throw", "return"].forEach(function (t) {
          s(e, t, function (e) {
            return this._invoke(t, e);
          });
        });
      }
      function _(e, t) {
        function n(i, a, o, l) {
          var u = f(e[i], e, a);
          if ("throw" !== u.type) {
            var s = u.arg,
              c = s.value;
            return c && "object" == M(c) && r.call(c, "__await")
              ? t.resolve(c.__await).then(
                  function (e) {
                    n("next", e, o, l);
                  },
                  function (e) {
                    n("throw", e, o, l);
                  }
                )
              : t.resolve(c).then(
                  function (e) {
                    (s.value = e), o(s);
                  },
                  function (e) {
                    return n("throw", e, o, l);
                  }
                );
          }
          l(u.arg);
        }
        var a;
        i(this, "_invoke", {
          value: function (e, r) {
            function i() {
              return new t(function (t, i) {
                n(e, r, t, i);
              });
            }
            return (a = a ? a.then(i, i) : i());
          },
        });
      }
      function C(t, n, r) {
        var i = d;
        return function (a, o) {
          if (i === p) throw new Error("Generator is already running");
          if (i === h) {
            if ("throw" === a) throw o;
            return { value: e, done: !0 };
          }
          for (r.method = a, r.arg = o; ; ) {
            var l = r.delegate;
            if (l) {
              var u = E(l, r);
              if (u) {
                if (u === v) continue;
                return u;
              }
            }
            if ("next" === r.method) r.sent = r._sent = r.arg;
            else if ("throw" === r.method) {
              if (i === d) throw ((i = h), r.arg);
              r.dispatchException(r.arg);
            } else "return" === r.method && r.abrupt("return", r.arg);
            i = p;
            var s = f(t, n, r);
            if ("normal" === s.type) {
              if (((i = r.done ? h : "suspendedYield"), s.arg === v)) continue;
              return { value: s.arg, done: r.done };
            }
            "throw" === s.type &&
              ((i = h), (r.method = "throw"), (r.arg = s.arg));
          }
        };
      }
      function E(t, n) {
        var r = n.method,
          i = t.iterator[r];
        if (i === e)
          return (
            (n.delegate = null),
            ("throw" === r &&
              t.iterator.return &&
              ((n.method = "return"),
              (n.arg = e),
              E(t, n),
              "throw" === n.method)) ||
              ("return" !== r &&
                ((n.method = "throw"),
                (n.arg = new TypeError(
                  "The iterator does not provide a '" + r + "' method"
                )))),
            v
          );
        var a = f(i, t.iterator, n.arg);
        if ("throw" === a.type)
          return (n.method = "throw"), (n.arg = a.arg), (n.delegate = null), v;
        var o = a.arg;
        return o
          ? o.done
            ? ((n[t.resultName] = o.value),
              (n.next = t.nextLoc),
              "return" !== n.method && ((n.method = "next"), (n.arg = e)),
              (n.delegate = null),
              v)
            : o
          : ((n.method = "throw"),
            (n.arg = new TypeError("iterator result is not an object")),
            (n.delegate = null),
            v);
      }
      function N(e) {
        var t = { tryLoc: e[0] };
        1 in e && (t.catchLoc = e[1]),
          2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
          this.tryEntries.push(t);
      }
      function L(e) {
        var t = e.completion || {};
        (t.type = "normal"), delete t.arg, (e.completion = t);
      }
      function O(e) {
        (this.tryEntries = [{ tryLoc: "root" }]),
          e.forEach(N, this),
          this.reset(!0);
      }
      function I(t) {
        if (t || "" === t) {
          var n = t[o];
          if (n) return n.call(t);
          if ("function" == typeof t.next) return t;
          if (!isNaN(t.length)) {
            var i = -1,
              a = function n() {
                for (; ++i < t.length; )
                  if (r.call(t, i)) return (n.value = t[i]), (n.done = !1), n;
                return (n.value = e), (n.done = !0), n;
              };
            return (a.next = a);
          }
        }
        throw new TypeError(M(t) + " is not iterable");
      }
      return (
        (m.prototype = y),
        i(x, "constructor", { value: y, configurable: !0 }),
        i(y, "constructor", { value: m, configurable: !0 }),
        (m.displayName = s(y, u, "GeneratorFunction")),
        (t.isGeneratorFunction = function (e) {
          var t = "function" == typeof e && e.constructor;
          return (
            !!t &&
            (t === m || "GeneratorFunction" === (t.displayName || t.name))
          );
        }),
        (t.mark = function (e) {
          return (
            Object.setPrototypeOf
              ? Object.setPrototypeOf(e, y)
              : ((e.__proto__ = y), s(e, u, "GeneratorFunction")),
            (e.prototype = Object.create(x)),
            e
          );
        }),
        (t.awrap = function (e) {
          return { __await: e };
        }),
        S(_.prototype),
        s(_.prototype, l, function () {
          return this;
        }),
        (t.AsyncIterator = _),
        (t.async = function (e, n, r, i, a) {
          void 0 === a && (a = Promise);
          var o = new _(c(e, n, r, i), a);
          return t.isGeneratorFunction(n)
            ? o
            : o.next().then(function (e) {
                return e.done ? e.value : o.next();
              });
        }),
        S(x),
        s(x, u, "Generator"),
        s(x, o, function () {
          return this;
        }),
        s(x, "toString", function () {
          return "[object Generator]";
        }),
        (t.keys = function (e) {
          var t = Object(e),
            n = [];
          for (var r in t) n.push(r);
          return (
            n.reverse(),
            function e() {
              for (; n.length; ) {
                var r = n.pop();
                if (r in t) return (e.value = r), (e.done = !1), e;
              }
              return (e.done = !0), e;
            }
          );
        }),
        (t.values = I),
        (O.prototype = {
          constructor: O,
          reset: function (t) {
            if (
              ((this.prev = 0),
              (this.next = 0),
              (this.sent = this._sent = e),
              (this.done = !1),
              (this.delegate = null),
              (this.method = "next"),
              (this.arg = e),
              this.tryEntries.forEach(L),
              !t)
            )
              for (var n in this)
                "t" === n.charAt(0) &&
                  r.call(this, n) &&
                  !isNaN(+n.slice(1)) &&
                  (this[n] = e);
          },
          stop: function () {
            this.done = !0;
            var e = this.tryEntries[0].completion;
            if ("throw" === e.type) throw e.arg;
            return this.rval;
          },
          dispatchException: function (t) {
            if (this.done) throw t;
            var n = this;
            function i(r, i) {
              return (
                (l.type = "throw"),
                (l.arg = t),
                (n.next = r),
                i && ((n.method = "next"), (n.arg = e)),
                !!i
              );
            }
            for (var a = this.tryEntries.length - 1; a >= 0; --a) {
              var o = this.tryEntries[a],
                l = o.completion;
              if ("root" === o.tryLoc) return i("end");
              if (o.tryLoc <= this.prev) {
                var u = r.call(o, "catchLoc"),
                  s = r.call(o, "finallyLoc");
                if (u && s) {
                  if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                  if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                } else if (u) {
                  if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                } else {
                  if (!s)
                    throw new Error("try statement without catch or finally");
                  if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                }
              }
            }
          },
          abrupt: function (e, t) {
            for (var n = this.tryEntries.length - 1; n >= 0; --n) {
              var i = this.tryEntries[n];
              if (
                i.tryLoc <= this.prev &&
                r.call(i, "finallyLoc") &&
                this.prev < i.finallyLoc
              ) {
                var a = i;
                break;
              }
            }
            a &&
              ("break" === e || "continue" === e) &&
              a.tryLoc <= t &&
              t <= a.finallyLoc &&
              (a = null);
            var o = a ? a.completion : {};
            return (
              (o.type = e),
              (o.arg = t),
              a
                ? ((this.method = "next"), (this.next = a.finallyLoc), v)
                : this.complete(o)
            );
          },
          complete: function (e, t) {
            if ("throw" === e.type) throw e.arg;
            return (
              "break" === e.type || "continue" === e.type
                ? (this.next = e.arg)
                : "return" === e.type
                ? ((this.rval = this.arg = e.arg),
                  (this.method = "return"),
                  (this.next = "end"))
                : "normal" === e.type && t && (this.next = t),
              v
            );
          },
          finish: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var n = this.tryEntries[t];
              if (n.finallyLoc === e)
                return this.complete(n.completion, n.afterLoc), L(n), v;
            }
          },
          catch: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var n = this.tryEntries[t];
              if (n.tryLoc === e) {
                var r = n.completion;
                if ("throw" === r.type) {
                  var i = r.arg;
                  L(n);
                }
                return i;
              }
            }
            throw new Error("illegal catch attempt");
          },
          delegateYield: function (t, n, r) {
            return (
              (this.delegate = { iterator: I(t), resultName: n, nextLoc: r }),
              "next" === this.method && (this.arg = e),
              v
            );
          },
        }),
        t
      );
    }
    function W(e, t, n, r, i, a, o) {
      try {
        var l = e[a](o),
          u = l.value;
      } catch (s) {
        return void n(s);
      }
      l.done ? t(u) : Promise.resolve(u).then(r, i);
    }
    function $(e) {
      return function () {
        var t = this,
          n = arguments;
        return new Promise(function (r, i) {
          var a = e.apply(t, n);
          function o(e) {
            W(a, r, i, o, l, "next", e);
          }
          function l(e) {
            W(a, r, i, o, l, "throw", e);
          }
          o(void 0);
        });
      };
    }
    function U(e) {
      return new Promise(function (t, n) {
        var r = new Image();
        (r.src = e),
          r.setAttribute("crossOrigin", ""),
          (r.onload = function () {
            return t(r);
          }),
          (r.onerror = n);
      });
    }
    function H(e) {
      return B.apply(this, arguments);
    }
    function B() {
      return (B = $(
        V().mark(function e(t) {
          var n;
          return V().wrap(function (e) {
            for (;;)
              switch ((e.prev = e.next)) {
                case 0:
                  if (!(t instanceof Promise)) {
                    e.next = 7;
                    break;
                  }
                  return (e.next = 3), t;
                case 3:
                  return (n = e.sent), e.abrupt("return", n.default);
                case 7:
                  return e.abrupt("return", t);
                case 8:
                case "end":
                  return e.stop();
              }
          }, e);
        })
      )).apply(this, arguments);
    }
    function G(e) {
      return (G =
        "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
          ? function (e) {
              return typeof e;
            }
          : function (e) {
              return e &&
                "function" == typeof Symbol &&
                e.constructor === Symbol &&
                e !== Symbol.prototype
                ? "symbol"
                : typeof e;
            })(e);
    }
    function Q() {
      Q = function () {
        return t;
      };
      var e,
        t = {},
        n = Object.prototype,
        r = n.hasOwnProperty,
        i =
          Object.defineProperty ||
          function (e, t, n) {
            e[t] = n.value;
          },
        a = "function" == typeof Symbol ? Symbol : {},
        o = a.iterator || "@@iterator",
        l = a.asyncIterator || "@@asyncIterator",
        u = a.toStringTag || "@@toStringTag";
      function s(e, t, n) {
        return (
          Object.defineProperty(e, t, {
            value: n,
            enumerable: !0,
            configurable: !0,
            writable: !0,
          }),
          e[t]
        );
      }
      try {
        s({}, "");
      } catch (e) {
        s = function (e, t, n) {
          return (e[t] = n);
        };
      }
      function c(e, t, n, r) {
        var a = t && t.prototype instanceof g ? t : g,
          o = Object.create(a.prototype),
          l = new O(r || []);
        return i(o, "_invoke", { value: C(e, n, l) }), o;
      }
      function f(e, t, n) {
        try {
          return { type: "normal", arg: e.call(t, n) };
        } catch (e) {
          return { type: "throw", arg: e };
        }
      }
      t.wrap = c;
      var d = "suspendedStart",
        p = "executing",
        h = "completed",
        v = {};
      function g() {}
      function m() {}
      function y() {}
      var b = {};
      s(b, o, function () {
        return this;
      });
      var w = Object.getPrototypeOf,
        k = w && w(w(I([])));
      k && k !== n && r.call(k, o) && (b = k);
      var x = (y.prototype = g.prototype = Object.create(b));
      function S(e) {
        ["next", "throw", "return"].forEach(function (t) {
          s(e, t, function (e) {
            return this._invoke(t, e);
          });
        });
      }
      function _(e, t) {
        function n(i, a, o, l) {
          var u = f(e[i], e, a);
          if ("throw" !== u.type) {
            var s = u.arg,
              c = s.value;
            return c && "object" == G(c) && r.call(c, "__await")
              ? t.resolve(c.__await).then(
                  function (e) {
                    n("next", e, o, l);
                  },
                  function (e) {
                    n("throw", e, o, l);
                  }
                )
              : t.resolve(c).then(
                  function (e) {
                    (s.value = e), o(s);
                  },
                  function (e) {
                    return n("throw", e, o, l);
                  }
                );
          }
          l(u.arg);
        }
        var a;
        i(this, "_invoke", {
          value: function (e, r) {
            function i() {
              return new t(function (t, i) {
                n(e, r, t, i);
              });
            }
            return (a = a ? a.then(i, i) : i());
          },
        });
      }
      function C(t, n, r) {
        var i = d;
        return function (a, o) {
          if (i === p) throw new Error("Generator is already running");
          if (i === h) {
            if ("throw" === a) throw o;
            return { value: e, done: !0 };
          }
          for (r.method = a, r.arg = o; ; ) {
            var l = r.delegate;
            if (l) {
              var u = E(l, r);
              if (u) {
                if (u === v) continue;
                return u;
              }
            }
            if ("next" === r.method) r.sent = r._sent = r.arg;
            else if ("throw" === r.method) {
              if (i === d) throw ((i = h), r.arg);
              r.dispatchException(r.arg);
            } else "return" === r.method && r.abrupt("return", r.arg);
            i = p;
            var s = f(t, n, r);
            if ("normal" === s.type) {
              if (((i = r.done ? h : "suspendedYield"), s.arg === v)) continue;
              return { value: s.arg, done: r.done };
            }
            "throw" === s.type &&
              ((i = h), (r.method = "throw"), (r.arg = s.arg));
          }
        };
      }
      function E(t, n) {
        var r = n.method,
          i = t.iterator[r];
        if (i === e)
          return (
            (n.delegate = null),
            ("throw" === r &&
              t.iterator.return &&
              ((n.method = "return"),
              (n.arg = e),
              E(t, n),
              "throw" === n.method)) ||
              ("return" !== r &&
                ((n.method = "throw"),
                (n.arg = new TypeError(
                  "The iterator does not provide a '" + r + "' method"
                )))),
            v
          );
        var a = f(i, t.iterator, n.arg);
        if ("throw" === a.type)
          return (n.method = "throw"), (n.arg = a.arg), (n.delegate = null), v;
        var o = a.arg;
        return o
          ? o.done
            ? ((n[t.resultName] = o.value),
              (n.next = t.nextLoc),
              "return" !== n.method && ((n.method = "next"), (n.arg = e)),
              (n.delegate = null),
              v)
            : o
          : ((n.method = "throw"),
            (n.arg = new TypeError("iterator result is not an object")),
            (n.delegate = null),
            v);
      }
      function N(e) {
        var t = { tryLoc: e[0] };
        1 in e && (t.catchLoc = e[1]),
          2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
          this.tryEntries.push(t);
      }
      function L(e) {
        var t = e.completion || {};
        (t.type = "normal"), delete t.arg, (e.completion = t);
      }
      function O(e) {
        (this.tryEntries = [{ tryLoc: "root" }]),
          e.forEach(N, this),
          this.reset(!0);
      }
      function I(t) {
        if (t || "" === t) {
          var n = t[o];
          if (n) return n.call(t);
          if ("function" == typeof t.next) return t;
          if (!isNaN(t.length)) {
            var i = -1,
              a = function n() {
                for (; ++i < t.length; )
                  if (r.call(t, i)) return (n.value = t[i]), (n.done = !1), n;
                return (n.value = e), (n.done = !0), n;
              };
            return (a.next = a);
          }
        }
        throw new TypeError(G(t) + " is not iterable");
      }
      return (
        (m.prototype = y),
        i(x, "constructor", { value: y, configurable: !0 }),
        i(y, "constructor", { value: m, configurable: !0 }),
        (m.displayName = s(y, u, "GeneratorFunction")),
        (t.isGeneratorFunction = function (e) {
          var t = "function" == typeof e && e.constructor;
          return (
            !!t &&
            (t === m || "GeneratorFunction" === (t.displayName || t.name))
          );
        }),
        (t.mark = function (e) {
          return (
            Object.setPrototypeOf
              ? Object.setPrototypeOf(e, y)
              : ((e.__proto__ = y), s(e, u, "GeneratorFunction")),
            (e.prototype = Object.create(x)),
            e
          );
        }),
        (t.awrap = function (e) {
          return { __await: e };
        }),
        S(_.prototype),
        s(_.prototype, l, function () {
          return this;
        }),
        (t.AsyncIterator = _),
        (t.async = function (e, n, r, i, a) {
          void 0 === a && (a = Promise);
          var o = new _(c(e, n, r, i), a);
          return t.isGeneratorFunction(n)
            ? o
            : o.next().then(function (e) {
                return e.done ? e.value : o.next();
              });
        }),
        S(x),
        s(x, u, "Generator"),
        s(x, o, function () {
          return this;
        }),
        s(x, "toString", function () {
          return "[object Generator]";
        }),
        (t.keys = function (e) {
          var t = Object(e),
            n = [];
          for (var r in t) n.push(r);
          return (
            n.reverse(),
            function e() {
              for (; n.length; ) {
                var r = n.pop();
                if (r in t) return (e.value = r), (e.done = !1), e;
              }
              return (e.done = !0), e;
            }
          );
        }),
        (t.values = I),
        (O.prototype = {
          constructor: O,
          reset: function (t) {
            if (
              ((this.prev = 0),
              (this.next = 0),
              (this.sent = this._sent = e),
              (this.done = !1),
              (this.delegate = null),
              (this.method = "next"),
              (this.arg = e),
              this.tryEntries.forEach(L),
              !t)
            )
              for (var n in this)
                "t" === n.charAt(0) &&
                  r.call(this, n) &&
                  !isNaN(+n.slice(1)) &&
                  (this[n] = e);
          },
          stop: function () {
            this.done = !0;
            var e = this.tryEntries[0].completion;
            if ("throw" === e.type) throw e.arg;
            return this.rval;
          },
          dispatchException: function (t) {
            if (this.done) throw t;
            var n = this;
            function i(r, i) {
              return (
                (l.type = "throw"),
                (l.arg = t),
                (n.next = r),
                i && ((n.method = "next"), (n.arg = e)),
                !!i
              );
            }
            for (var a = this.tryEntries.length - 1; a >= 0; --a) {
              var o = this.tryEntries[a],
                l = o.completion;
              if ("root" === o.tryLoc) return i("end");
              if (o.tryLoc <= this.prev) {
                var u = r.call(o, "catchLoc"),
                  s = r.call(o, "finallyLoc");
                if (u && s) {
                  if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                  if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                } else if (u) {
                  if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                } else {
                  if (!s)
                    throw new Error("try statement without catch or finally");
                  if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                }
              }
            }
          },
          abrupt: function (e, t) {
            for (var n = this.tryEntries.length - 1; n >= 0; --n) {
              var i = this.tryEntries[n];
              if (
                i.tryLoc <= this.prev &&
                r.call(i, "finallyLoc") &&
                this.prev < i.finallyLoc
              ) {
                var a = i;
                break;
              }
            }
            a &&
              ("break" === e || "continue" === e) &&
              a.tryLoc <= t &&
              t <= a.finallyLoc &&
              (a = null);
            var o = a ? a.completion : {};
            return (
              (o.type = e),
              (o.arg = t),
              a
                ? ((this.method = "next"), (this.next = a.finallyLoc), v)
                : this.complete(o)
            );
          },
          complete: function (e, t) {
            if ("throw" === e.type) throw e.arg;
            return (
              "break" === e.type || "continue" === e.type
                ? (this.next = e.arg)
                : "return" === e.type
                ? ((this.rval = this.arg = e.arg),
                  (this.method = "return"),
                  (this.next = "end"))
                : "normal" === e.type && t && (this.next = t),
              v
            );
          },
          finish: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var n = this.tryEntries[t];
              if (n.finallyLoc === e)
                return this.complete(n.completion, n.afterLoc), L(n), v;
            }
          },
          catch: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var n = this.tryEntries[t];
              if (n.tryLoc === e) {
                var r = n.completion;
                if ("throw" === r.type) {
                  var i = r.arg;
                  L(n);
                }
                return i;
              }
            }
            throw new Error("illegal catch attempt");
          },
          delegateYield: function (t, n, r) {
            return (
              (this.delegate = { iterator: I(t), resultName: n, nextLoc: r }),
              "next" === this.method && (this.arg = e),
              v
            );
          },
        }),
        t
      );
    }
    function q(e, t, n, r, i, a, o) {
      try {
        var l = e[a](o),
          u = l.value;
      } catch (s) {
        return void n(s);
      }
      l.done ? t(u) : Promise.resolve(u).then(r, i);
    }
    function K(e, t) {
      return (
        (function (e) {
          if (Array.isArray(e)) return e;
        })(e) ||
        (function (e, t) {
          var n =
            null == e
              ? null
              : ("undefined" != typeof Symbol && e[Symbol.iterator]) ||
                e["@@iterator"];
          if (null != n) {
            var r,
              i,
              a,
              o,
              l = [],
              u = !0,
              s = !1;
            try {
              if (((a = (n = n.call(e)).next), 0 === t)) {
                if (Object(n) !== n) return;
                u = !1;
              } else
                for (
                  ;
                  !(u = (r = a.call(n)).done) &&
                  (l.push(r.value), l.length !== t);
                  u = !0
                );
            } catch (e) {
              (s = !0), (i = e);
            } finally {
              try {
                if (
                  !u &&
                  null != n.return &&
                  ((o = n.return()), Object(o) !== o)
                )
                  return;
              } finally {
                if (s) throw i;
              }
            }
            return l;
          }
        })(e, t) ||
        (function (e, t) {
          if (!e) return;
          if ("string" === typeof e) return X(e, t);
          var n = Object.prototype.toString.call(e).slice(8, -1);
          "Object" === n && e.constructor && (n = e.constructor.name);
          if ("Map" === n || "Set" === n) return Array.from(e);
          if (
            "Arguments" === n ||
            /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
          )
            return X(e, t);
        })(e, t) ||
        (function () {
          throw new TypeError(
            "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
          );
        })()
      );
    }
    function X(e, t) {
      (null == t || t > e.length) && (t = e.length);
      for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
      return r;
    }
    var Y = function (e) {
        var t = e.canvasRef,
          n = e.width,
          r = e.height,
          i = e.coverColor,
          a = e.coverImg,
          o = e.callbackInfo,
          l = Object(D.useRef)(!1),
          u = K(Object(D.useState)(!1), 2),
          s = u[0],
          c = u[1];
        Object(D.useEffect)(function () {
          return (
            f(),
            function () {
              d();
            }
          );
        }, []);
        var f = (function () {
            var e,
              o =
                ((e = Q().mark(function e() {
                  var o, l, u, s;
                  return Q().wrap(function (e) {
                    for (;;)
                      switch ((e.prev = e.next)) {
                        case 0:
                          if ((o = t.current)) {
                            e.next = 3;
                            break;
                          }
                          return e.abrupt("return");
                        case 3:
                          if (
                            ((o.width = n),
                            (o.height = r),
                            (l =
                              null === o || void 0 === o
                                ? void 0
                                : o.getContext("2d")))
                          ) {
                            e.next = 8;
                            break;
                          }
                          return e.abrupt("return");
                        case 8:
                          if (!a) {
                            e.next = 18;
                            break;
                          }
                          return (e.next = 11), H(a);
                        case 11:
                          return (u = e.sent), (e.next = 14), U(u);
                        case 14:
                          (s = e.sent),
                            l.drawImage(s, 0, 0, n, r),
                            (e.next = 20);
                          break;
                        case 18:
                          (l.fillStyle = i),
                            l.fillRect(0, 0, o.width, o.height);
                        case 20:
                          (l.globalCompositeOperation = "destination-out"),
                            o.addEventListener("mousedown", v.bind(null, !0)),
                            o.addEventListener("touchstart", v.bind(null, !0)),
                            o.addEventListener("mousemove", p),
                            o.addEventListener("touchmove", p),
                            o.addEventListener("mouseup", v.bind(null, !1)),
                            o.addEventListener("touchend", v.bind(null, !1)),
                            c(!0);
                        case 28:
                        case "end":
                          return e.stop();
                      }
                  }, e);
                })),
                function () {
                  var t = this,
                    n = arguments;
                  return new Promise(function (r, i) {
                    var a = e.apply(t, n);
                    function o(e) {
                      q(a, r, i, o, l, "next", e);
                    }
                    function l(e) {
                      q(a, r, i, o, l, "throw", e);
                    }
                    o(void 0);
                  });
                });
            return function () {
              return o.apply(this, arguments);
            };
          })(),
          d = function () {
            var e = t.current;
            e &&
              (e.removeEventListener("mousedown", v.bind(null, !0)),
              e.removeEventListener("touchstart", v.bind(null, !0)),
              e.removeEventListener("mousemove", p),
              e.removeEventListener("touchmove", p),
              e.removeEventListener("mouseup", v.bind(null, !1)),
              e.removeEventListener("touchend", v.bind(null, !1)));
          },
          p = function (e) {
            if (l.current) {
              e.preventDefault();
              var n = t.current;
              if (n) {
                var r = n.getContext("2d");
                if (r) {
                  var i = n.getClientRects()[0],
                    a = e.clientX - i.x,
                    u = e.clientY - i.y;
                  r.beginPath(),
                    r.arc(a, u, 20, 0, 2 * Math.PI),
                    r.fill(),
                    "function" ===
                      typeof (null === o || void 0 === o
                        ? void 0
                        : o.calllback) && h(r);
                }
              }
            }
          },
          h = function (e) {
            for (
              var t, i = e.getImageData(0, 0, n, r), a = [], l = 0;
              l < i.data.length;
              l++
            ) {
              var u = i.data[l + 3];
              0 === u && a.push(u);
            }
            a.length / i.data.length >
              ((null === o || void 0 === o ? void 0 : o.radio) || 0.8) &&
              (null === o ||
                void 0 === o ||
                null === (t = o.calllback) ||
                void 0 === t ||
                t.call(o));
          },
          v = function (e) {
            l.current = e;
          };
        return [
          l.current,
          s,
          function () {
            var e = t.current;
            if (e) {
              var i = e.getContext("2d");
              i && (i.clearRect(0, 0, n, r), d());
            }
          },
        ];
      },
      J = (n(163), n(106)),
      Z = ["children", "classNames"];
    function ee(e) {
      return (ee =
        "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
          ? function (e) {
              return typeof e;
            }
          : function (e) {
              return e &&
                "function" == typeof Symbol &&
                e.constructor === Symbol &&
                e !== Symbol.prototype
                ? "symbol"
                : typeof e;
            })(e);
    }
    function te(e, t) {
      return (
        (function (e) {
          if (Array.isArray(e)) return e;
        })(e) ||
        (function (e, t) {
          var n =
            null == e
              ? null
              : ("undefined" != typeof Symbol && e[Symbol.iterator]) ||
                e["@@iterator"];
          if (null != n) {
            var r,
              i,
              a,
              o,
              l = [],
              u = !0,
              s = !1;
            try {
              if (((a = (n = n.call(e)).next), 0 === t)) {
                if (Object(n) !== n) return;
                u = !1;
              } else
                for (
                  ;
                  !(u = (r = a.call(n)).done) &&
                  (l.push(r.value), l.length !== t);
                  u = !0
                );
            } catch (e) {
              (s = !0), (i = e);
            } finally {
              try {
                if (
                  !u &&
                  null != n.return &&
                  ((o = n.return()), Object(o) !== o)
                )
                  return;
              } finally {
                if (s) throw i;
              }
            }
            return l;
          }
        })(e, t) ||
        (function (e, t) {
          if (!e) return;
          if ("string" === typeof e) return ne(e, t);
          var n = Object.prototype.toString.call(e).slice(8, -1);
          "Object" === n && e.constructor && (n = e.constructor.name);
          if ("Map" === n || "Set" === n) return Array.from(e);
          if (
            "Arguments" === n ||
            /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
          )
            return ne(e, t);
        })(e, t) ||
        (function () {
          throw new TypeError(
            "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
          );
        })()
      );
    }
    function ne(e, t) {
      (null == t || t > e.length) && (t = e.length);
      for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
      return r;
    }
    function re(e, t) {
      if (null == e) return {};
      var n,
        r,
        i = (function (e, t) {
          if (null == e) return {};
          var n,
            r,
            i = {},
            a = Object.keys(e);
          for (r = 0; r < a.length; r++)
            (n = a[r]), t.indexOf(n) >= 0 || (i[n] = e[n]);
          return i;
        })(e, t);
      if (Object.getOwnPropertySymbols) {
        var a = Object.getOwnPropertySymbols(e);
        for (r = 0; r < a.length; r++)
          (n = a[r]),
            t.indexOf(n) >= 0 ||
              (Object.prototype.propertyIsEnumerable.call(e, n) &&
                (i[n] = e[n]));
      }
      return i;
    }
    function ie(e, t) {
      var n = Object.keys(e);
      if (Object.getOwnPropertySymbols) {
        var r = Object.getOwnPropertySymbols(e);
        t &&
          (r = r.filter(function (t) {
            return Object.getOwnPropertyDescriptor(e, t).enumerable;
          })),
          n.push.apply(n, r);
      }
      return n;
    }
    function ae(e) {
      for (var t = 1; t < arguments.length; t++) {
        var n = null != arguments[t] ? arguments[t] : {};
        t % 2
          ? ie(Object(n), !0).forEach(function (t) {
              oe(e, t, n[t]);
            })
          : Object.getOwnPropertyDescriptors
          ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
          : ie(Object(n)).forEach(function (t) {
              Object.defineProperty(
                e,
                t,
                Object.getOwnPropertyDescriptor(n, t)
              );
            });
      }
      return e;
    }
    function oe(e, t, n) {
      return (
        (t = (function (e) {
          var t = (function (e, t) {
            if ("object" !== ee(e) || null === e) return e;
            var n = e[Symbol.toPrimitive];
            if (void 0 !== n) {
              var r = n.call(e, t || "default");
              if ("object" !== ee(r)) return r;
              throw new TypeError(
                "@@toPrimitive must return a primitive value."
              );
            }
            return ("string" === t ? String : Number)(e);
          })(e, "string");
          return "symbol" === ee(t) ? t : String(t);
        })(t)) in e
          ? Object.defineProperty(e, t, {
              value: n,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (e[t] = n),
        e
      );
    }
    var le = { width: 240, height: 120, coverColor: "#ddd" },
      ue = Object(D.forwardRef)(function (e, t) {
        var n = ae(ae({}, le), e),
          r = n.children,
          i = n.classNames,
          a = re(n, Z),
          o = Object(D.useRef)(null),
          l = te(Y(ae({ canvasRef: o }, a)), 3),
          u = l[1],
          s = l[2];
        return (
          Object(D.useImperativeHandle)(t, function () {
            return { canvasContainer: o.current, initDone: u, clearCard: s };
          }),
          Object(J.jsxs)("div", {
            className: A()(
              "scratch-card",
              null === i || void 0 === i ? void 0 : i.root
            ),
            style: { width: n.width, height: n.height },
            children: [
              Object(J.jsx)("canvas", {
                ref: o,
                className: A()(
                  "".concat("scratch-card", "-mask"),
                  null === i || void 0 === i ? void 0 : i.mask
                ),
              }),
              Object(J.jsx)("div", {
                className: A()(
                  "".concat("scratch-card", "-container"),
                  null === i || void 0 === i ? void 0 : i.body
                ),
                style: { width: n.width, height: n.height },
                children: u && r,
              }),
            ],
          })
        );
      }),
      se = n(102),
      ce = n(37),
      fe = n(13);
    function de() {
      de = function () {
        return t;
      };
      var e,
        t = {},
        n = Object.prototype,
        r = n.hasOwnProperty,
        i =
          Object.defineProperty ||
          function (e, t, n) {
            e[t] = n.value;
          },
        a = "function" == typeof Symbol ? Symbol : {},
        o = a.iterator || "@@iterator",
        l = a.asyncIterator || "@@asyncIterator",
        u = a.toStringTag || "@@toStringTag";
      function s(e, t, n) {
        return (
          Object.defineProperty(e, t, {
            value: n,
            enumerable: !0,
            configurable: !0,
            writable: !0,
          }),
          e[t]
        );
      }
      try {
        s({}, "");
      } catch (e) {
        s = function (e, t, n) {
          return (e[t] = n);
        };
      }
      function c(e, t, n, r) {
        var a = t && t.prototype instanceof g ? t : g,
          o = Object.create(a.prototype),
          l = new O(r || []);
        return i(o, "_invoke", { value: C(e, n, l) }), o;
      }
      function f(e, t, n) {
        try {
          return { type: "normal", arg: e.call(t, n) };
        } catch (e) {
          return { type: "throw", arg: e };
        }
      }
      t.wrap = c;
      var d = "suspendedStart",
        p = "executing",
        h = "completed",
        v = {};
      function g() {}
      function m() {}
      function y() {}
      var b = {};
      s(b, o, function () {
        return this;
      });
      var w = Object.getPrototypeOf,
        k = w && w(w(I([])));
      k && k !== n && r.call(k, o) && (b = k);
      var x = (y.prototype = g.prototype = Object.create(b));
      function S(e) {
        ["next", "throw", "return"].forEach(function (t) {
          s(e, t, function (e) {
            return this._invoke(t, e);
          });
        });
      }
      function _(e, t) {
        function n(i, a, o, l) {
          var u = f(e[i], e, a);
          if ("throw" !== u.type) {
            var s = u.arg,
              c = s.value;
            return c && "object" == typeof c && r.call(c, "__await")
              ? t.resolve(c.__await).then(
                  function (e) {
                    n("next", e, o, l);
                  },
                  function (e) {
                    n("throw", e, o, l);
                  }
                )
              : t.resolve(c).then(
                  function (e) {
                    (s.value = e), o(s);
                  },
                  function (e) {
                    return n("throw", e, o, l);
                  }
                );
          }
          l(u.arg);
        }
        var a;
        i(this, "_invoke", {
          value: function (e, r) {
            function i() {
              return new t(function (t, i) {
                n(e, r, t, i);
              });
            }
            return (a = a ? a.then(i, i) : i());
          },
        });
      }
      function C(t, n, r) {
        var i = d;
        return function (a, o) {
          if (i === p) throw new Error("Generator is already running");
          if (i === h) {
            if ("throw" === a) throw o;
            return { value: e, done: !0 };
          }
          for (r.method = a, r.arg = o; ; ) {
            var l = r.delegate;
            if (l) {
              var u = E(l, r);
              if (u) {
                if (u === v) continue;
                return u;
              }
            }
            if ("next" === r.method) r.sent = r._sent = r.arg;
            else if ("throw" === r.method) {
              if (i === d) throw ((i = h), r.arg);
              r.dispatchException(r.arg);
            } else "return" === r.method && r.abrupt("return", r.arg);
            i = p;
            var s = f(t, n, r);
            if ("normal" === s.type) {
              if (((i = r.done ? h : "suspendedYield"), s.arg === v)) continue;
              return { value: s.arg, done: r.done };
            }
            "throw" === s.type &&
              ((i = h), (r.method = "throw"), (r.arg = s.arg));
          }
        };
      }
      function E(t, n) {
        var r = n.method,
          i = t.iterator[r];
        if (i === e)
          return (
            (n.delegate = null),
            ("throw" === r &&
              t.iterator.return &&
              ((n.method = "return"),
              (n.arg = e),
              E(t, n),
              "throw" === n.method)) ||
              ("return" !== r &&
                ((n.method = "throw"),
                (n.arg = new TypeError(
                  "The iterator does not provide a '" + r + "' method"
                )))),
            v
          );
        var a = f(i, t.iterator, n.arg);
        if ("throw" === a.type)
          return (n.method = "throw"), (n.arg = a.arg), (n.delegate = null), v;
        var o = a.arg;
        return o
          ? o.done
            ? ((n[t.resultName] = o.value),
              (n.next = t.nextLoc),
              "return" !== n.method && ((n.method = "next"), (n.arg = e)),
              (n.delegate = null),
              v)
            : o
          : ((n.method = "throw"),
            (n.arg = new TypeError("iterator result is not an object")),
            (n.delegate = null),
            v);
      }
      function N(e) {
        var t = { tryLoc: e[0] };
        1 in e && (t.catchLoc = e[1]),
          2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
          this.tryEntries.push(t);
      }
      function L(e) {
        var t = e.completion || {};
        (t.type = "normal"), delete t.arg, (e.completion = t);
      }
      function O(e) {
        (this.tryEntries = [{ tryLoc: "root" }]),
          e.forEach(N, this),
          this.reset(!0);
      }
      function I(t) {
        if (t || "" === t) {
          var n = t[o];
          if (n) return n.call(t);
          if ("function" == typeof t.next) return t;
          if (!isNaN(t.length)) {
            var i = -1,
              a = function n() {
                for (; ++i < t.length; )
                  if (r.call(t, i)) return (n.value = t[i]), (n.done = !1), n;
                return (n.value = e), (n.done = !0), n;
              };
            return (a.next = a);
          }
        }
        throw new TypeError(typeof t + " is not iterable");
      }
      return (
        (m.prototype = y),
        i(x, "constructor", { value: y, configurable: !0 }),
        i(y, "constructor", { value: m, configurable: !0 }),
        (m.displayName = s(y, u, "GeneratorFunction")),
        (t.isGeneratorFunction = function (e) {
          var t = "function" == typeof e && e.constructor;
          return (
            !!t &&
            (t === m || "GeneratorFunction" === (t.displayName || t.name))
          );
        }),
        (t.mark = function (e) {
          return (
            Object.setPrototypeOf
              ? Object.setPrototypeOf(e, y)
              : ((e.__proto__ = y), s(e, u, "GeneratorFunction")),
            (e.prototype = Object.create(x)),
            e
          );
        }),
        (t.awrap = function (e) {
          return { __await: e };
        }),
        S(_.prototype),
        s(_.prototype, l, function () {
          return this;
        }),
        (t.AsyncIterator = _),
        (t.async = function (e, n, r, i, a) {
          void 0 === a && (a = Promise);
          var o = new _(c(e, n, r, i), a);
          return t.isGeneratorFunction(n)
            ? o
            : o.next().then(function (e) {
                return e.done ? e.value : o.next();
              });
        }),
        S(x),
        s(x, u, "Generator"),
        s(x, o, function () {
          return this;
        }),
        s(x, "toString", function () {
          return "[object Generator]";
        }),
        (t.keys = function (e) {
          var t = Object(e),
            n = [];
          for (var r in t) n.push(r);
          return (
            n.reverse(),
            function e() {
              for (; n.length; ) {
                var r = n.pop();
                if (r in t) return (e.value = r), (e.done = !1), e;
              }
              return (e.done = !0), e;
            }
          );
        }),
        (t.values = I),
        (O.prototype = {
          constructor: O,
          reset: function (t) {
            if (
              ((this.prev = 0),
              (this.next = 0),
              (this.sent = this._sent = e),
              (this.done = !1),
              (this.delegate = null),
              (this.method = "next"),
              (this.arg = e),
              this.tryEntries.forEach(L),
              !t)
            )
              for (var n in this)
                "t" === n.charAt(0) &&
                  r.call(this, n) &&
                  !isNaN(+n.slice(1)) &&
                  (this[n] = e);
          },
          stop: function () {
            this.done = !0;
            var e = this.tryEntries[0].completion;
            if ("throw" === e.type) throw e.arg;
            return this.rval;
          },
          dispatchException: function (t) {
            if (this.done) throw t;
            var n = this;
            function i(r, i) {
              return (
                (l.type = "throw"),
                (l.arg = t),
                (n.next = r),
                i && ((n.method = "next"), (n.arg = e)),
                !!i
              );
            }
            for (var a = this.tryEntries.length - 1; a >= 0; --a) {
              var o = this.tryEntries[a],
                l = o.completion;
              if ("root" === o.tryLoc) return i("end");
              if (o.tryLoc <= this.prev) {
                var u = r.call(o, "catchLoc"),
                  s = r.call(o, "finallyLoc");
                if (u && s) {
                  if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                  if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                } else if (u) {
                  if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                } else {
                  if (!s)
                    throw new Error("try statement without catch or finally");
                  if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                }
              }
            }
          },
          abrupt: function (e, t) {
            for (var n = this.tryEntries.length - 1; n >= 0; --n) {
              var i = this.tryEntries[n];
              if (
                i.tryLoc <= this.prev &&
                r.call(i, "finallyLoc") &&
                this.prev < i.finallyLoc
              ) {
                var a = i;
                break;
              }
            }
            a &&
              ("break" === e || "continue" === e) &&
              a.tryLoc <= t &&
              t <= a.finallyLoc &&
              (a = null);
            var o = a ? a.completion : {};
            return (
              (o.type = e),
              (o.arg = t),
              a
                ? ((this.method = "next"), (this.next = a.finallyLoc), v)
                : this.complete(o)
            );
          },
          complete: function (e, t) {
            if ("throw" === e.type) throw e.arg;
            return (
              "break" === e.type || "continue" === e.type
                ? (this.next = e.arg)
                : "return" === e.type
                ? ((this.rval = this.arg = e.arg),
                  (this.method = "return"),
                  (this.next = "end"))
                : "normal" === e.type && t && (this.next = t),
              v
            );
          },
          finish: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var n = this.tryEntries[t];
              if (n.finallyLoc === e)
                return this.complete(n.completion, n.afterLoc), L(n), v;
            }
          },
          catch: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var n = this.tryEntries[t];
              if (n.tryLoc === e) {
                var r = n.completion;
                if ("throw" === r.type) {
                  var i = r.arg;
                  L(n);
                }
                return i;
              }
            }
            throw new Error("illegal catch attempt");
          },
          delegateYield: function (t, n, r) {
            return (
              (this.delegate = { iterator: I(t), resultName: n, nextLoc: r }),
              "next" === this.method && (this.arg = e),
              v
            );
          },
        }),
        t
      );
    }
    n.d(t, "formatEditorConfig", function () {
      return we;
    });
    var pe = window,
      he = pe.$axure,
      ve = pe.$;
    function ge(e) {
      e = e || 32;
      for (
        var t = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",
          n = t.length,
          r = "",
          i = 0;
        i < e;
        i++
      )
        r += t.charAt(Math.floor(Math.random() * n));
      return r;
    }
    var me = {
        "\u80cc\u666f\u56fe\u7247": "blocks[0].imgs[0].src",
        "\u62bd\u5956\u6309\u94ae\u56fe\u7247": "buttons[0].imgs[0].src",
        "\u7f16\u8f91\u5668\u914d\u7f6e": "axhubEditorConfig",
        "\u6570\u636e\u6765\u6e90": "dataSource",
      },
      ye = function (e, t) {
        var n = [];
        return (
          e.map(function (e) {
            var r = {
              range: e.range || void 0,
              background: e.background || void 0,
              x: e.x ? e.x - 1 : void 0,
              y: e.y ? e.y - 1 : void 0,
            };
            e.img
              ? (r.imgs = [
                  Object(ce.a)({}, e, {
                    src: e.img,
                    width: e.width || t.prizeWidth,
                    height: e.height || t.prizeHeight,
                    top: e.top || t.prizePostion,
                    activeSrc: e.active,
                  }),
                ])
              : e.text &&
                (r.fonts = [
                  Object(ce.a)({}, e, { top: e.top || t.prizePostion }),
                ]),
              n.push(r);
          }),
          n
        );
      },
      be = function (e) {
        if (e.slotOptions) {
          for (var t = [], n = 0; n < (e.slotCount || 3); n++)
            t.push(e.slotOptions[n] || {});
          return t;
        }
      },
      we = function (e) {
        var t = Object.assign({}, e),
          n = [
            "blocks[0].imgs[0].src",
            "buttons[0].imgs[0].src",
            "debug",
            "dataSource",
          ];
        return (
          e.debug && n.push("isEnt", "axID"),
          n.map(function (e) {
            delete t[e];
          }),
          t
        );
      },
      ke = function (e, t, n, r) {
        ve(e).html("");
        var i = new r(
          "#" + e.id,
          Object(ce.a)({}, t, {
            prizes: ye(n, t),
            slots: be(t),
            width: ve(e).width(),
            height: ve(e).height(),
            start: function () {
              i.play(),
                setTimeout(function () {
                  i.stop();
                });
            },
            end: function (n) {
              Object(fe.k)("".concat(t.axID, "_prize"), n - 1 || ""),
                Object(fe.h)(e.id, "onSelect");
            },
          })
        );
        (window.axLucky = window.axLucky || {}),
          (window.axLucky[t.axID] = {
            play: function () {
              return i.play();
            },
            stop: function (e) {
              void 0 !== e ? i.stop(e + 1) : i.stop();
            },
          });
      },
      xe = (function () {
        var e = Object(r.a)(
          de().mark(function e(t, n, i, a) {
            var o, l, u, s, c, f, d, p, h, v, g, m, y, b, w, k, x, S, _, C, E;
            return de().wrap(function (e) {
              for (;;)
                switch ((e.prev = e.next)) {
                  case 0:
                    return (
                      (y =
                        ve(t)
                          .parent()
                          .find('[data-label="axhub-config"]')
                          .attr("id") || ""),
                      (b =
                        ve(t)
                          .parent()
                          .find('[data-label="axhub-data"]')
                          .attr("id") || ""),
                      (w = {}),
                      (k = b ? Object(fe.e)(b) : { data: [], keys: [] }),
                      (x = y ? Object(fe.d)(y, me) : {}),
                      (e.next = 7),
                      Object(fe.f)(t, x)
                    );
                  case 7:
                    for (
                      S = e.sent,
                        x = S.config || x,
                        k = S.data || k,
                        x.axID = x.axID || t.id + ge(6),
                        null !== (o = window) &&
                          void 0 !== o &&
                          null !== (l = o.axAntd) &&
                          void 0 !== l &&
                          l[x.axID] &&
                          (x.axID = t.id + ge(6)),
                        x = Object(ce.a)({}, i, x),
                        _ = 0,
                        C = Object.keys(x);
                      _ < C.length;
                      _++
                    )
                      (E = C[_]),
                        "" !== x[E] &&
                          null !== x[E] &&
                          Object(fe.j)(w, E, x[E]);
                    null === w ||
                      void 0 === w ||
                      null === (u = w.buttons) ||
                      void 0 === u ||
                      !u.imgs ||
                      (null !== w &&
                        void 0 !== w &&
                        null !== (s = w.buttons) &&
                        void 0 !== s &&
                        null !== (c = s[0]) &&
                        void 0 !== c &&
                        null !== (f = c.imgs) &&
                        void 0 !== f &&
                        null !== (d = f[0]) &&
                        void 0 !== d &&
                        d.src) ||
                      delete w.buttons[0].imgs,
                      null === w ||
                        void 0 === w ||
                        null === (p = w.blocks) ||
                        void 0 === p ||
                        !p.imgs ||
                        (null !== w &&
                          void 0 !== w &&
                          null !== (h = w.blocks) &&
                          void 0 !== h &&
                          null !== (v = h[0]) &&
                          void 0 !== v &&
                          null !== (g = v.imgs) &&
                          void 0 !== g &&
                          null !== (m = g[0]) &&
                          void 0 !== m &&
                          m.src) ||
                        delete w.blocks[0].imgs,
                      ke(t, w, k.data, n),
                      -1 !== window.location.host.indexOf("127.0.0.1") &&
                        ve(t).click(
                          (function () {
                            var e = Object(r.a)(
                              de().mark(function e(i) {
                                return de().wrap(function (e) {
                                  for (;;)
                                    switch ((e.prev = e.next)) {
                                      case 0:
                                        if (!i.altKey) {
                                          e.next = 5;
                                          break;
                                        }
                                        if (window.openAxhubEditor) {
                                          e.next = 4;
                                          break;
                                        }
                                        return (
                                          (e.next = 4),
                                          Object(fe.g)(
                                            (null === w || void 0 === w
                                              ? void 0
                                              : w.AxhubEditorUrl) ||
                                              "https://static.axhub.cn/charts/editor-v1.5.js"
                                          )
                                        );
                                      case 4:
                                        window.openAxhubEditor({
                                          element: {
                                            right: ["t1", "b2", "u1"],
                                            lib: "lucky",
                                            container: t,
                                          },
                                          attributesConfig: a(w),
                                          onConfigChange: function (e) {
                                            var r,
                                              i,
                                              o,
                                              l,
                                              u,
                                              s,
                                              c,
                                              f,
                                              d,
                                              p,
                                              h,
                                              v = Object.keys(e)[0];
                                            (e[v] =
                                              null !== (r = e[v]) &&
                                              void 0 !== r
                                                ? r
                                                : ""),
                                              Object(ce.a)(x, e);
                                            for (
                                              var g = {},
                                                m = 0,
                                                y = Object.keys(x);
                                              m < y.length;
                                              m++
                                            ) {
                                              var b = y[m];
                                              "" !== x[b] &&
                                                null !== x[b] &&
                                                Object(fe.j)(g, b, x[b]);
                                            }
                                            return (
                                              null === g ||
                                                void 0 === g ||
                                                null === (i = g.buttons) ||
                                                void 0 === i ||
                                                !i.imgs ||
                                                (null !== g &&
                                                  void 0 !== g &&
                                                  null !== (o = g.buttons) &&
                                                  void 0 !== o &&
                                                  null !== (l = o[0]) &&
                                                  void 0 !== l &&
                                                  null !== (u = l.imgs) &&
                                                  void 0 !== u &&
                                                  null !== (s = u[0]) &&
                                                  void 0 !== s &&
                                                  s.src) ||
                                                delete g.buttons[0].imgs,
                                              null === g ||
                                                void 0 === g ||
                                                null === (c = g.blocks) ||
                                                void 0 === c ||
                                                !c.imgs ||
                                                (null !== g &&
                                                  void 0 !== g &&
                                                  null !== (f = g.blocks) &&
                                                  void 0 !== f &&
                                                  null !== (d = f[0]) &&
                                                  void 0 !== d &&
                                                  null !== (p = d.imgs) &&
                                                  void 0 !== p &&
                                                  null !== (h = p[0]) &&
                                                  void 0 !== h &&
                                                  h.src) ||
                                                delete g.blocks[0].imgs,
                                              ke(t, g, k.data, n),
                                              a(g)
                                            );
                                          },
                                          onDataChange: function (e) {
                                            return (
                                              ke(t, w, (k = e).data, n), a(w)
                                            );
                                          },
                                          getConfig: function () {
                                            return we(x);
                                          },
                                          getData:
                                            "repeater" === w.dataSource
                                              ? void 0
                                              : function () {
                                                  return k;
                                                },
                                          getPng: (function () {
                                            var e = Object(r.a)(
                                              de().mark(function e() {
                                                var n;
                                                return de().wrap(function (e) {
                                                  for (;;)
                                                    switch ((e.prev = e.next)) {
                                                      case 0:
                                                        return (
                                                          (n =
                                                            ve(t).find(
                                                              "canvas"
                                                            )[0]),
                                                          e.abrupt("return", {
                                                            width:
                                                              ve(t).width(),
                                                            height:
                                                              ve(t).height(),
                                                            base64:
                                                              n.toDataURL(
                                                                "image/png"
                                                              ),
                                                          })
                                                        );
                                                      case 2:
                                                      case "end":
                                                        return e.stop();
                                                    }
                                                }, e);
                                              })
                                            );
                                            return function () {
                                              return e.apply(this, arguments);
                                            };
                                          })(),
                                        });
                                      case 5:
                                      case "end":
                                        return e.stop();
                                    }
                                }, e);
                              })
                            );
                            return function (t) {
                              return e.apply(this, arguments);
                            };
                          })()
                        );
                  case 18:
                  case "end":
                    return e.stop();
                }
            }, e);
          })
        );
        return function (t, n, r, i) {
          return e.apply(this, arguments);
        };
      })();
    he("@axhub-lucky-wheel")
      .$()
      .map(
        (function () {
          var e = Object(r.a)(
            de().mark(function e(t, n) {
              return de().wrap(function (e) {
                for (;;)
                  switch ((e.prev = e.next)) {
                    case 0:
                      try {
                        xe(
                          n,
                          P,
                          {
                            "blocks[0].imgs[0].width": "100%",
                            "blocks[0].imgs[0].height": "100%",
                            "blocks[0].imgs[0].rotate": !0,
                            "buttons[0].radius": "40%",
                            "buttons[0].imgs[0].top": "-100%",
                            "buttons[0].imgs[0].height": "100%",
                          },
                          function (e) {
                            var t,
                              n,
                              r,
                              i,
                              a,
                              o,
                              l,
                              u,
                              s,
                              c,
                              f,
                              d,
                              p,
                              h,
                              v,
                              g,
                              m,
                              y,
                              b,
                              w,
                              k,
                              x,
                              S,
                              _,
                              C,
                              E,
                              N,
                              L,
                              O,
                              I,
                              z,
                              P,
                              T,
                              j,
                              R,
                              A,
                              D,
                              F,
                              M,
                              V,
                              W,
                              $,
                              U,
                              H,
                              B,
                              G;
                            return {
                              config: {
                                type: "collapse",
                                children: [
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u57fa\u7840\u914d\u7f6e",
                                    attributeId: "baseConfig",
                                    children: [
                                      {
                                        type: "input",
                                        displayName: "\u5956\u54c1\u4f4d\u7f6e",
                                        attributeId: "prizePostion",
                                        info: '\u8ddd\u79bb\u6247\u5f62\u9876\u90e8\u7684\u8ddd\u79bb, \u53ef\u4ee5\u662f 20 / "20px" / "20%"',
                                        initialValue:
                                          null !==
                                            (t =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizePostion) &&
                                          void 0 !== t
                                            ? t
                                            : "",
                                      },
                                      {
                                        type: "input",
                                        displayName:
                                          "\u5956\u54c1\u56fe\u7247\u5bbd\u5ea6",
                                        attributeId: "prizeWidth",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null !==
                                            (n =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizeWidth) && void 0 !== n
                                            ? n
                                            : "",
                                      },
                                      {
                                        type: "input",
                                        displayName:
                                          "\u5956\u54c1\u56fe\u7247\u9ad8\u5ea6",
                                        attributeId: "prizeHeight",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null !==
                                            (r =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizeHeight) && void 0 !== r
                                            ? r
                                            : "",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u7f1d\u9699",
                                        attributeId: "defaultConfig.gutter",
                                        info: "\u6247\u5f62\u548c\u6247\u5f62\u4e4b\u95f4\u7684\u7f1d\u9699",
                                        initialValue:
                                          null !==
                                            (i =
                                              null === e ||
                                              void 0 === e ||
                                              null === (a = e.defaultConfig) ||
                                              void 0 === a
                                                ? void 0
                                                : a.gutter) && void 0 !== i
                                            ? i
                                            : 0,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u6307\u9488\u505c\u6b62\u8303\u56f4",
                                        attributeId: "defaultConfig.stopRange",
                                        info: "\u4ee5\u6247\u5f62\u7684\u4e2d\u7ebf\u5f00\u59cb\u8ba1\u7b97\u4e00\u4e2a\u968f\u673a\u89d2\u5ea6\u8303\u56f4; 1.\u5982\u679c\u7b49\u4e8e 0 \u5219\u4f1a\u505c\u7559\u6247\u5f62\u7684\u4e2d\u7ebf\u4e0a; 2.\u5982\u679c\u7b49\u4e8e 1 \u5219\u6709\u53ef\u80fd\u4f1a\u505c\u7559\u5728\u6247\u5f62\u7684\u7f1d\u9699\u4e0a; \u5efa\u8bae\u8303\u56f4 0 ~ 0.8",
                                        initialValue:
                                          null !==
                                            (o =
                                              null === e ||
                                              void 0 === e ||
                                              null === (l = e.defaultConfig) ||
                                              void 0 === l
                                                ? void 0
                                                : l.stopRange) && void 0 !== o
                                            ? o
                                            : 0,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u8f6c\u76d8\u504f\u79fb\u89d2\u5ea6",
                                        attributeId:
                                          "defaultConfig.offsetDegree",
                                        info: "\u4e00\u822c\u8fd9\u91cc\u53ea\u4f1a\u8f93\u5165\u4e24\u79cd\u503c; 1. \u8f93\u5165 0 \u5219\u7f1d\u9699\u671d\u7740\u6b63\u4e0a\u65b9; 2. \u5047\u8bbe\u6709 6 \u4e2a\u5956\u54c1, \u8f93\u5165 (360 / 6 / 2) \u5219\u7b2c\u4e00\u4e2a\u5956\u54c1\u671d\u7740\u6b63\u4e0a\u65b9",
                                        initialValue:
                                          null !==
                                            (u =
                                              null === e ||
                                              void 0 === e ||
                                              null === (s = e.defaultConfig) ||
                                              void 0 === s
                                                ? void 0
                                                : s.offsetDegree) &&
                                          void 0 !== u
                                            ? u
                                            : 0,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u8f6c\u901f\u5cf0\u503c",
                                        attributeId: "defaultConfig.speed",
                                        info: "\u5efa\u8bae\u914d\u7f6e\u8303\u56f4 10 ~ 30",
                                        initialValue:
                                          null !==
                                            (c =
                                              null === e ||
                                              void 0 === e ||
                                              null === (f = e.defaultConfig) ||
                                              void 0 === f
                                                ? void 0
                                                : f.speed) && void 0 !== c
                                            ? c
                                            : 20,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u5f00\u59cb\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.accelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (d =
                                              null === e ||
                                              void 0 === e ||
                                              null === (p = e.defaultConfig) ||
                                              void 0 === p
                                                ? void 0
                                                : p.accelerationTime) &&
                                          void 0 !== d
                                            ? d
                                            : 2500,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u7ed3\u675f\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.decelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (h =
                                              null === e ||
                                              void 0 === e ||
                                              null === (v = e.defaultConfig) ||
                                              void 0 === v
                                                ? void 0
                                                : v.decelerationTime) &&
                                          void 0 !== h
                                            ? h
                                            : 2500,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u7ed3\u675f\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.decelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (g =
                                              null === e ||
                                              void 0 === e ||
                                              null === (m = e.defaultConfig) ||
                                              void 0 === m
                                                ? void 0
                                                : m.decelerationTime) &&
                                          void 0 !== g
                                            ? g
                                            : 2500,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName:
                                          "\u5956\u54c1\u533a\u80cc\u666f\u8272",
                                        picker: "lite",
                                        attributeId: "defaultStyle.background",
                                        initialValue:
                                          null !==
                                            (y =
                                              null === e ||
                                              void 0 === e ||
                                              null === (b = e.defaultStyle) ||
                                              void 0 === b
                                                ? void 0
                                                : b.background) && void 0 !== y
                                            ? y
                                            : void 0,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName: "\u5b57\u4f53\u989c\u8272",
                                        picker: "lite",
                                        attributeId: "defaultStyle.fontColor",
                                        initialValue:
                                          null !==
                                            (w =
                                              null === e ||
                                              void 0 === e ||
                                              null === (k = e.defaultStyle) ||
                                              void 0 === k
                                                ? void 0
                                                : k.fontColor) && void 0 !== w
                                            ? w
                                            : "#000",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5b57\u4f53\u5927\u5c0f",
                                        attributeId: "defaultStyle.fontSize",
                                        initialValue:
                                          null !==
                                            (x =
                                              null === e ||
                                              void 0 === e ||
                                              null === (S = e.defaultStyle) ||
                                              void 0 === S
                                                ? void 0
                                                : S.fontSize) && void 0 !== x
                                            ? x
                                            : 22,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5b57\u91cd",
                                        attributeId: "defaultStyle.fontWeight",
                                        info: "\u76ee\u524d\u4ec5\u652f\u6301 300 / 400 / 500 / 600 / 700",
                                        initialValue:
                                          null !==
                                            (_ =
                                              null === e ||
                                              void 0 === e ||
                                              null === (C = e.defaultStyle) ||
                                              void 0 === C
                                                ? void 0
                                                : C.fontWeight) && void 0 !== _
                                            ? _
                                            : 400,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u884c\u9ad8",
                                        attributeId: "defaultStyle.lineHeight",
                                        initialValue:
                                          null !==
                                            (E =
                                              null === e ||
                                              void 0 === e ||
                                              null === (N = e.defaultStyle) ||
                                              void 0 === N
                                                ? void 0
                                                : N.lineHeight) && void 0 !== E
                                            ? E
                                            : void 0,
                                      },
                                      {
                                        type: "checkbox",
                                        displayName:
                                          "\u6587\u5b57\u81ea\u52a8\u6362\u884c",
                                        attributeId: "defaultStyle.wordWrap",
                                        initialValue:
                                          null ===
                                            (L =
                                              null === e ||
                                              void 0 === e ||
                                              null === (O = e.defaultStyle) ||
                                              void 0 === O
                                                ? void 0
                                                : O.wordWrap) ||
                                          void 0 === L ||
                                          L,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u6362\u884c\u5bbd\u5ea6",
                                        attributeId: "defaultStyle.lengthLimit",
                                        info: '\u6587\u5b57\u4f1a\u57fa\u4e8e\u5f53\u524d\u6247\u5f62\u7684\u5bbd\u5ea6\u81ea\u52a8\u6362\u884c, \u53ef\u4ee5\u662f 90 / "90px" / "90%',
                                        initialValue:
                                          null !==
                                            (I =
                                              null === e ||
                                              void 0 === e ||
                                              null === (z = e.defaultStyle) ||
                                              void 0 === z
                                                ? void 0
                                                : z.lengthLimit) && void 0 !== I
                                            ? I
                                            : "90%",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u6ea2\u51fa\u9690\u85cf",
                                        attributeId: "defaultStyle.lineClamp",
                                        info: "\u8bbe\u7f6e 1 \u65f6, \u6587\u672c\u5c31\u53ea\u6e32\u67d3\u4e00\u884c, \u5e76\u4e14\u4f7f\u7528...\u7ed3\u5c3e\uff0c\u4ee5\u6b64\u7c7b\u63a8",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (P = e.defaultStyle) ||
                                          void 0 === P
                                            ? void 0
                                            : P.lineClamp,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u80cc\u666f",
                                    attributeId: "blocksConfig",
                                    children: [
                                      {
                                        type: "text",
                                        displayName: "\u56fe\u7247\u5730\u5740",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 config \u4e2d\u7ee7\u5668\u914d\u7f6e",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u5185\u8fb9\u8ddd",
                                        attributeId: "blocks[0].padding",
                                        initialValue:
                                          null !==
                                            (T =
                                              null === e ||
                                              void 0 === e ||
                                              null === (j = e.blocks[0]) ||
                                              void 0 === j
                                                ? void 0
                                                : j.padding) && void 0 !== T
                                            ? T
                                            : 0,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName: "\u80cc\u666f\u8272",
                                        picker: "lite",
                                        attributeId: "blocks[0].background",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (R = e.blocks[0]) ||
                                          void 0 === R
                                            ? void 0
                                            : R.background,
                                      },
                                      {
                                        type: "checkbox",
                                        displayName:
                                          "\u80cc\u666f\u8ddf\u968f\u65cb\u8f6c",
                                        attributeId: "blocks[0].imgs[0].rotate",
                                        initialValue:
                                          null !==
                                            (A =
                                              null === e ||
                                              void 0 === e ||
                                              null === (D = e.blocks[0]) ||
                                              void 0 === D ||
                                              null === (F = D.imgs[0]) ||
                                              void 0 === F
                                                ? void 0
                                                : F.rotate) &&
                                          void 0 !== A &&
                                          A,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u62bd\u5956\u6309\u94ae",
                                    attributeId: "buttonsConfig",
                                    children: [
                                      {
                                        type: "input-number",
                                        displayName: "\u6309\u94ae\u534a\u5f84",
                                        attributeId: "buttons[0].radius",
                                        initialValue:
                                          null !==
                                            (M =
                                              null === e ||
                                              void 0 === e ||
                                              null === (V = e.buttons[0]) ||
                                              void 0 === V
                                                ? void 0
                                                : V.radius) && void 0 !== M
                                            ? M
                                            : 0,
                                      },
                                      {
                                        type: "text",
                                        displayName: "\u56fe\u7247\u5730\u5740",
                                        attributeId: "buttons.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 config \u4e2d\u7ee7\u5668\u914d\u7f6e",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u56fe\u7247\u4f4d\u7f6e",
                                        attributeId: "buttons[0].imgs[0].top",
                                        info: '\u8ddd\u79bb\u6247\u5f62\u9876\u90e8\u7684\u8ddd\u79bb, \u53ef\u4ee5\u662f 20 / "20px" / "20%"',
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (W = e.buttons[0]) ||
                                          void 0 === W ||
                                          null === ($ = W.imgs[0]) ||
                                          void 0 === $
                                            ? void 0
                                            : $.top,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u56fe\u7247\u5bbd\u5ea6",
                                        attributeId: "buttons[0].imgs[0].width",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (U = e.buttons[0]) ||
                                          void 0 === U ||
                                          null === (H = U.imgs[0]) ||
                                          void 0 === H
                                            ? void 0
                                            : H.width,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u56fe\u7247\u9ad8\u5ea6",
                                        attributeId:
                                          "buttons[0].imgs[0].height",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (B = e.buttons[0]) ||
                                          void 0 === B ||
                                          null === (G = B.imgs[0]) ||
                                          void 0 === G
                                            ? void 0
                                            : G.height,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u5956\u54c1",
                                    attributeId: "prizeConfig",
                                    children: [
                                      {
                                        type: "text",
                                        displayName: "\u5956\u54c1\u5217\u8868",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 data \u4e2d\u7ee7\u5668\u914d\u7f6e\uff0c\u652f\u6301\u56fe\u7247\u548c\u6587\u5b57\u4e24\u79cd\u3002\n text\uff1a\u6587\u5b57\u5185\u5bb9\uff1b\n img\uff1a\u56fe\u7247\u5730\u5740\uff1b\n top\uff1a\u5956\u54c1\u4f4d\u7f6e\uff1b\n range\uff1a\u6743\u91cd\u5373\u4e2d\u5956\u6982\u7387\uff1b\n background\uff1a\u80cc\u666f\u989c\u8272",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                      {
                                        type: "text",
                                        displayName: "\u4e2d\u5956\u6982\u7387",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 data \u4e2d\u7ee7\u5668 range \u914d\u7f6e\uff0c\u6982\u7387\u5c5e\u6027:\n\u5982\u679c3\u4e2a\u5956\u54c1\u7684 range \u5206\u522b\u4e3a [10, 20, 30], \u5219\u4e2d\u5956\u51e0\u7387\u4e3a [10/60, 20/60, 30/60]\n\u5982\u679c3\u4e2a\u5956\u54c1\u7684 range \u5206\u522b\u4e3a [10, 0, 30], \u5219\u4e2d\u5956\u51e0\u7387\u4e3a [10/40, 0, 30/40]\n",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u4ea4\u4e92\u52a8\u4f5c",
                                    attributeId: "actionConfig",
                                    children: [
                                      {
                                        type: "group",
                                        displayName: "\u4e2d\u5956\u5956\u54c1",
                                        info: "\u5f53\u524d\u4e2d\u5956\u5956\u54c1\u7684\u5168\u5c40\u53d8\u91cf\uff0c\u518d Axure - \u9879\u76ee - \u5168\u5c40\u53d8\u91cf\u521b\u5efa\u540e\uff0c\u5c31\u53ef\u4ee5\u5728\u76f8\u5173\u4ea4\u4e92\u4f7f\u7528",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "prize",
                                            copyable: !0,
                                            initialValue: "".concat(
                                              e.axID,
                                              "_prize"
                                            ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                      {
                                        type: "group",
                                        displayName: "\u5f00\u59cb\u62bd\u5956",
                                        info: "\u5f00\u59cb\u62bd\u5956\uff0c\u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1\uff0c\u8be6\u60c5\u770b\u6587\u6863",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "play",
                                            copyable: !0,
                                            initialValue:
                                              "javascript:axLucky.".concat(
                                                e.axID,
                                                ".play()"
                                              ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                      {
                                        type: "group",
                                        displayName: "\u7ed3\u675f\u62bd\u5956",
                                        info: "\u53ef\u4ee5\u4f20\u53c2\u5956\u54c1\u5e8f\u53f7\u5982 \uff1astop(2) \uff0c\u5219\u4ee3\u88682\u53f7\u5956\u54c1\u4e2d\u5956\uff0c\u4e3a\u7a7a\u5219\u6309\u6982\u7387\u8ba1\u7b97\uff1b\u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1\uff0c\u8be6\u60c5\u770b\u6587\u6863",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "stop",
                                            copyable: !0,
                                            initialValue:
                                              "javascript:axLucky.".concat(
                                                e.axID,
                                                ".stop()"
                                              ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                    ],
                                  },
                                ],
                              },
                            };
                          }
                        );
                      } catch (t) {
                        console.error(
                          "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
                          t
                        );
                      }
                    case 1:
                    case "end":
                      return e.stop();
                  }
              }, e);
            })
          );
          return function (t, n) {
            return e.apply(this, arguments);
          };
        })()
      ),
      he("@axhub-lucky-grid")
        .$()
        .map(
          (function () {
            var e = Object(r.a)(
              de().mark(function e(t, n) {
                return de().wrap(function (e) {
                  for (;;)
                    switch ((e.prev = e.next)) {
                      case 0:
                        xe(
                          n,
                          T,
                          {
                            "blocks[0].imgs[0].width": "100%",
                            "blocks[0].imgs[0].height": "100%",
                            "buttons[0].x": 1,
                            "buttons[0].y": 1,
                            "buttons[0].imgs[0].height": "100%",
                          },
                          function (e) {
                            var t,
                              n,
                              r,
                              i,
                              a,
                              o,
                              l,
                              u,
                              s,
                              c,
                              f,
                              d,
                              p,
                              h,
                              v,
                              g,
                              m,
                              y,
                              b,
                              w,
                              k,
                              x,
                              S,
                              _,
                              C,
                              E,
                              N,
                              L,
                              O,
                              I,
                              z,
                              P,
                              T,
                              j,
                              R,
                              A,
                              D,
                              F,
                              M,
                              V,
                              W,
                              $,
                              U,
                              H,
                              B,
                              G,
                              Q,
                              q,
                              K,
                              X,
                              Y,
                              J,
                              Z,
                              ee,
                              te,
                              ne,
                              re,
                              ie;
                            return {
                              config: {
                                type: "collapse",
                                children: [
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u57fa\u7840\u914d\u7f6e",
                                    attributeId: "baseConfig",
                                    children: [
                                      {
                                        type: "input-number",
                                        displayName: "\u884c\u6570",
                                        attributeId: "rows",
                                        info: "\u4f60\u53ef\u4ee5\u642d\u914d\u8be5\u5c5e\u6027\u5b9e\u73b0 m * n \u5bab\u683c\u62bd\u5956\u7ec4\u4ef6",
                                        initialValue: e.rows,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5217\u6570",
                                        attributeId: "cols",
                                        info: "\u4f60\u53ef\u4ee5\u642d\u914d\u8be5\u5c5e\u6027\u5b9e\u73b0 m * n \u5bab\u683c\u62bd\u5956\u7ec4\u4ef6",
                                        initialValue: e.cols,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u5956\u54c1\u4f4d\u7f6e",
                                        attributeId: "prizePostion",
                                        info: '\u8ddd\u79bb\u683c\u5b50\u9876\u90e8\u7684\u8ddd\u79bb, \u53ef\u4ee5\u662f 20 / "20px" / "20%"',
                                        initialValue:
                                          null !==
                                            (t =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizePostion) &&
                                          void 0 !== t
                                            ? t
                                            : "",
                                      },
                                      {
                                        type: "input",
                                        displayName:
                                          "\u5956\u54c1\u56fe\u7247\u5bbd\u5ea6",
                                        attributeId: "prizeWidth",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null !==
                                            (n =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizeWidth) && void 0 !== n
                                            ? n
                                            : "",
                                      },
                                      {
                                        type: "input",
                                        displayName:
                                          "\u5956\u54c1\u56fe\u7247\u9ad8\u5ea6",
                                        attributeId: "prizeHeight",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null !==
                                            (r =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizeHeight) && void 0 !== r
                                            ? r
                                            : "",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u7f1d\u9699",
                                        attributeId: "defaultConfig.gutter",
                                        info: "\u6247\u5f62\u548c\u6247\u5f62\u4e4b\u95f4\u7684\u7f1d\u9699",
                                        initialValue:
                                          null !==
                                            (i =
                                              null === e ||
                                              void 0 === e ||
                                              null === (a = e.defaultConfig) ||
                                              void 0 === a
                                                ? void 0
                                                : a.gutter) && void 0 !== i
                                            ? i
                                            : 0,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u8f6c\u901f\u5cf0\u503c",
                                        attributeId: "defaultConfig.speed",
                                        info: "\u5efa\u8bae\u914d\u7f6e\u8303\u56f4 10 ~ 30",
                                        initialValue:
                                          null !==
                                            (o =
                                              null === e ||
                                              void 0 === e ||
                                              null === (l = e.defaultConfig) ||
                                              void 0 === l
                                                ? void 0
                                                : l.speed) && void 0 !== o
                                            ? o
                                            : 20,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u5f00\u59cb\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.accelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (u =
                                              null === e ||
                                              void 0 === e ||
                                              null === (s = e.defaultConfig) ||
                                              void 0 === s
                                                ? void 0
                                                : s.accelerationTime) &&
                                          void 0 !== u
                                            ? u
                                            : 2500,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u7ed3\u675f\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.decelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (c =
                                              null === e ||
                                              void 0 === e ||
                                              null === (f = e.defaultConfig) ||
                                              void 0 === f
                                                ? void 0
                                                : f.decelerationTime) &&
                                          void 0 !== c
                                            ? c
                                            : 2500,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u7ed3\u675f\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.decelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (d =
                                              null === e ||
                                              void 0 === e ||
                                              null === (p = e.defaultConfig) ||
                                              void 0 === p
                                                ? void 0
                                                : p.decelerationTime) &&
                                          void 0 !== d
                                            ? d
                                            : 2500,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u683c\u5b50\u5706\u89d2",
                                        attributeId:
                                          "defaultStyle.borderRadius",
                                        initialValue:
                                          null !==
                                            (h =
                                              null === e ||
                                              void 0 === e ||
                                              null === (v = e.defaultStyle) ||
                                              void 0 === v
                                                ? void 0
                                                : v.borderRadius) &&
                                          void 0 !== h
                                            ? h
                                            : 20,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName:
                                          "\u5956\u54c1\u533a\u80cc\u666f\u8272",
                                        picker: "lite",
                                        attributeId: "defaultStyle.background",
                                        initialValue:
                                          null !==
                                            (g =
                                              null === e ||
                                              void 0 === e ||
                                              null === (m = e.defaultStyle) ||
                                              void 0 === m
                                                ? void 0
                                                : m.background) && void 0 !== g
                                            ? g
                                            : void 0,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName: "\u5b57\u4f53\u989c\u8272",
                                        picker: "lite",
                                        attributeId: "defaultStyle.fontColor",
                                        initialValue:
                                          null !==
                                            (y =
                                              null === e ||
                                              void 0 === e ||
                                              null === (b = e.defaultStyle) ||
                                              void 0 === b
                                                ? void 0
                                                : b.fontColor) && void 0 !== y
                                            ? y
                                            : "#000",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5b57\u4f53\u5927\u5c0f",
                                        attributeId: "defaultStyle.fontSize",
                                        initialValue:
                                          null !==
                                            (w =
                                              null === e ||
                                              void 0 === e ||
                                              null === (k = e.defaultStyle) ||
                                              void 0 === k
                                                ? void 0
                                                : k.fontSize) && void 0 !== w
                                            ? w
                                            : 22,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5b57\u91cd",
                                        attributeId: "defaultStyle.fontWeight",
                                        info: "\u76ee\u524d\u4ec5\u652f\u6301 300 / 400 / 500 / 600 / 700",
                                        initialValue:
                                          null !==
                                            (x =
                                              null === e ||
                                              void 0 === e ||
                                              null === (S = e.defaultStyle) ||
                                              void 0 === S
                                                ? void 0
                                                : S.fontWeight) && void 0 !== x
                                            ? x
                                            : 400,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u884c\u9ad8",
                                        attributeId: "defaultStyle.lineHeight",
                                        initialValue:
                                          null !==
                                            (_ =
                                              null === e ||
                                              void 0 === e ||
                                              null === (C = e.defaultStyle) ||
                                              void 0 === C
                                                ? void 0
                                                : C.lineHeight) && void 0 !== _
                                            ? _
                                            : void 0,
                                      },
                                      {
                                        type: "checkbox",
                                        displayName:
                                          "\u6587\u5b57\u81ea\u52a8\u6362\u884c",
                                        attributeId: "defaultStyle.wordWrap",
                                        initialValue:
                                          null ===
                                            (E =
                                              null === e ||
                                              void 0 === e ||
                                              null === (N = e.defaultStyle) ||
                                              void 0 === N
                                                ? void 0
                                                : N.wordWrap) ||
                                          void 0 === E ||
                                          E,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u6362\u884c\u5bbd\u5ea6",
                                        attributeId: "defaultStyle.lengthLimit",
                                        info: '\u6587\u5b57\u4f1a\u57fa\u4e8e\u5f53\u524d\u6247\u5f62\u7684\u5bbd\u5ea6\u81ea\u52a8\u6362\u884c, \u53ef\u4ee5\u662f 90 / "90px" / "90%',
                                        initialValue:
                                          null !==
                                            (L =
                                              null === e ||
                                              void 0 === e ||
                                              null === (O = e.defaultStyle) ||
                                              void 0 === O
                                                ? void 0
                                                : O.lengthLimit) && void 0 !== L
                                            ? L
                                            : "90%",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u6ea2\u51fa\u9690\u85cf",
                                        attributeId: "defaultStyle.lineClamp",
                                        info: "\u8bbe\u7f6e 1 \u65f6, \u6587\u672c\u5c31\u53ea\u6e32\u67d3\u4e00\u884c, \u5e76\u4e14\u4f7f\u7528...\u7ed3\u5c3e\uff0c\u4ee5\u6b64\u7c7b\u63a8",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (I = e.defaultStyle) ||
                                          void 0 === I
                                            ? void 0
                                            : I.lineClamp,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName:
                                      "\u4e2d\u5956\u6807\u8bb0\u6837\u5f0f",
                                    attributeId: "activeConfig",
                                    children: [
                                      {
                                        type: "color-picker",
                                        displayName:
                                          "\u5956\u54c1\u533a\u80cc\u666f\u8272",
                                        picker: "lite",
                                        attributeId: "activeStyle.background",
                                        initialValue:
                                          null !==
                                            (z =
                                              null === e ||
                                              void 0 === e ||
                                              null === (P = e.activeStyle) ||
                                              void 0 === P
                                                ? void 0
                                                : P.background) && void 0 !== z
                                            ? z
                                            : void 0,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName: "\u5b57\u4f53\u989c\u8272",
                                        picker: "lite",
                                        attributeId: "activeStyle.fontColor",
                                        initialValue:
                                          null !==
                                            (T =
                                              null === e ||
                                              void 0 === e ||
                                              null === (j = e.activeStyle) ||
                                              void 0 === j
                                                ? void 0
                                                : j.fontColor) && void 0 !== T
                                            ? T
                                            : "#000",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5b57\u4f53\u5927\u5c0f",
                                        attributeId: "activeStyle.fontSize",
                                        initialValue:
                                          null !==
                                            (R =
                                              null === e ||
                                              void 0 === e ||
                                              null === (A = e.activeStyle) ||
                                              void 0 === A
                                                ? void 0
                                                : A.fontSize) && void 0 !== R
                                            ? R
                                            : 22,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5b57\u91cd",
                                        attributeId: "activeStyle.fontWeight",
                                        info: "\u76ee\u524d\u4ec5\u652f\u6301 300 / 400 / 500 / 600 / 700",
                                        initialValue:
                                          null !==
                                            (D =
                                              null === e ||
                                              void 0 === e ||
                                              null === (F = e.activeStyle) ||
                                              void 0 === F
                                                ? void 0
                                                : F.fontWeight) && void 0 !== D
                                            ? D
                                            : 400,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u80cc\u666f",
                                    attributeId: "blocksConfig",
                                    children: [
                                      {
                                        type: "text",
                                        displayName: "\u56fe\u7247\u5730\u5740",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 config \u4e2d\u7ee7\u5668\u914d\u7f6e",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5706\u89d2\u534a\u5f84",
                                        attributeId: "blocks[0].borderRadius",
                                        initialValue:
                                          null !==
                                            (M =
                                              null === e ||
                                              void 0 === e ||
                                              null === (V = e.blocks[0]) ||
                                              void 0 === V
                                                ? void 0
                                                : V.borderRadius) &&
                                          void 0 !== M
                                            ? M
                                            : 0,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u5185\u8fb9\u8ddd",
                                        attributeId: "blocks[0].padding",
                                        initialValue:
                                          null !==
                                            (W =
                                              null === e ||
                                              void 0 === e ||
                                              null === ($ = e.blocks[0]) ||
                                              void 0 === $
                                                ? void 0
                                                : $.padding) && void 0 !== W
                                            ? W
                                            : 0,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName: "\u80cc\u666f\u8272",
                                        picker: "lite",
                                        attributeId: "blocks[0].background",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (U = e.blocks[0]) ||
                                          void 0 === U
                                            ? void 0
                                            : U.background,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u62bd\u5956\u6309\u94ae",
                                    attributeId: "buttonsConfig",
                                    children: [
                                      {
                                        type: "input-number",
                                        displayName: "\u5706\u89d2\u534a\u5f84",
                                        attributeId: "buttons[0].borderRadius",
                                        initialValue:
                                          null !==
                                            (H =
                                              null === e ||
                                              void 0 === e ||
                                              null === (B = e.buttons[0]) ||
                                              void 0 === B
                                                ? void 0
                                                : B.borderRadius) &&
                                          void 0 !== H
                                            ? H
                                            : 0,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u56fe\u7247\u4f4d\u7f6e",
                                        attributeId: "buttons[0].imgs[0].top",
                                        info: '\u8ddd\u79bb\u683c\u5b50\u9876\u90e8\u7684\u8ddd\u79bb, \u53ef\u4ee5\u662f 20 / "20px" / "20%"',
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (G = e.buttons[0]) ||
                                          void 0 === G
                                            ? void 0
                                            : G.imgs[0].top,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "x\u5750\u6807",
                                        attributeId: "buttons[0].x",
                                        info: "\u7b2c\u4e00\u4e2a\u5956\u54c1\u7684\u5750\u6807\u4e3a(0,0), \u4f9d\u6b21\u7c7b\u63a8\uff0c\u4e00\u822c\u5efa\u8bae\u4e3a\u7a7a",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (Q = e.buttons[0]) ||
                                          void 0 === Q
                                            ? void 0
                                            : Q.x,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "y\u5750\u6807",
                                        attributeId: "buttons[0].y",
                                        info: "\u7b2c\u4e00\u4e2a\u5956\u54c1\u7684\u5750\u6807\u4e3a(0,0), \u4f9d\u6b21\u7c7b\u63a8\uff0c\u4e00\u822c\u5efa\u8bae\u4e3a\u7a7a",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (q = e.buttons[0]) ||
                                          void 0 === q
                                            ? void 0
                                            : q.y,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u6a2a\u5411\u5408\u5e76\u683c\u5b50",
                                        attributeId: "buttons[0].row",
                                        initialValue:
                                          null !==
                                            (K =
                                              null === e ||
                                              void 0 === e ||
                                              null === (X = e.buttons[0]) ||
                                              void 0 === X
                                                ? void 0
                                                : X.row) && void 0 !== K
                                            ? K
                                            : 1,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u7eb5\u5411\u5408\u5e76\u683c\u5b50",
                                        attributeId: "buttons[0].col",
                                        initialValue:
                                          null !==
                                            (Y =
                                              null === e ||
                                              void 0 === e ||
                                              null === (J = e.buttons[0]) ||
                                              void 0 === J
                                                ? void 0
                                                : J.col) && void 0 !== Y
                                            ? Y
                                            : 1,
                                      },
                                      {
                                        type: "text",
                                        displayName: "\u56fe\u7247\u5730\u5740",
                                        attributeId: "buttons.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 config \u4e2d\u7ee7\u5668\u914d\u7f6e",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u56fe\u7247\u4f4d\u7f6e",
                                        attributeId: "buttons[0].imgs[0].top",
                                        info: '\u8ddd\u79bb\u6247\u5f62\u9876\u90e8\u7684\u8ddd\u79bb, \u53ef\u4ee5\u662f 20 / "20px" / "20%"',
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (Z = e.buttons[0]) ||
                                          void 0 === Z ||
                                          null === (ee = Z.imgs[0]) ||
                                          void 0 === ee
                                            ? void 0
                                            : ee.top,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u56fe\u7247\u5bbd\u5ea6",
                                        attributeId: "buttons[0].imgs[0].width",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (te = e.buttons[0]) ||
                                          void 0 === te ||
                                          null === (ne = te.imgs[0]) ||
                                          void 0 === ne
                                            ? void 0
                                            : ne.width,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u56fe\u7247\u9ad8\u5ea6",
                                        attributeId:
                                          "buttons[0].imgs[0].height",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (re = e.buttons[0]) ||
                                          void 0 === re ||
                                          null === (ie = re.imgs[0]) ||
                                          void 0 === ie
                                            ? void 0
                                            : ie.height,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u5956\u54c1",
                                    attributeId: "prizeConfig",
                                    children: [
                                      {
                                        type: "text",
                                        displayName: "\u5956\u54c1\u5217\u8868",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 data \u4e2d\u7ee7\u5668\u914d\u7f6e\uff0c\u652f\u6301\u56fe\u7247\u548c\u6587\u5b57\u4e24\u79cd\u3002\n text\uff1a\u6587\u5b57\u5185\u5bb9\uff1b\n img\uff1a\u56fe\u7247\u5730\u5740\uff1b\n top\uff1a\u5956\u54c1\u4f4d\u7f6e\uff1b\n range\uff1a\u6743\u91cd\u5373\u4e2d\u5956\u6982\u7387\uff1b\n background\uff1a\u80cc\u666f\u989c\u8272",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                      {
                                        type: "text",
                                        displayName: "\u4e2d\u5956\u6982\u7387",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 data \u4e2d\u7ee7\u5668 range \u914d\u7f6e\uff0c\u6982\u7387\u5c5e\u6027:\n\u5982\u679c3\u4e2a\u5956\u54c1\u7684 range \u5206\u522b\u4e3a [10, 20, 30], \u5219\u4e2d\u5956\u51e0\u7387\u4e3a [10/60, 20/60, 30/60]\n\u5982\u679c3\u4e2a\u5956\u54c1\u7684 range \u5206\u522b\u4e3a [10, 0, 30], \u5219\u4e2d\u5956\u51e0\u7387\u4e3a [10/40, 0, 30/40]\n",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u4ea4\u4e92\u52a8\u4f5c",
                                    attributeId: "actionConfig",
                                    children: [
                                      {
                                        type: "group",
                                        displayName: "\u4e2d\u5956\u5956\u54c1",
                                        info: "\u5f53\u524d\u4e2d\u5956\u5956\u54c1\u7684\u5168\u5c40\u53d8\u91cf\uff0c\u518d Axure - \u9879\u76ee - \u5168\u5c40\u53d8\u91cf\u521b\u5efa\u540e\uff0c\u5c31\u53ef\u4ee5\u5728\u76f8\u5173\u4ea4\u4e92\u4f7f\u7528",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "prize",
                                            copyable: !0,
                                            initialValue: "".concat(
                                              e.axID,
                                              "_prize"
                                            ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                      {
                                        type: "group",
                                        displayName: "\u5f00\u59cb\u62bd\u5956",
                                        info: "\u5f00\u59cb\u62bd\u5956\uff0c\u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1\uff0c\u8be6\u60c5\u770b\u6587\u6863",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "play",
                                            copyable: !0,
                                            initialValue:
                                              "javascript:axLucky.".concat(
                                                e.axID,
                                                ".play()"
                                              ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                      {
                                        type: "group",
                                        displayName: "\u7ed3\u675f\u62bd\u5956",
                                        info: "\u53ef\u4ee5\u4f20\u53c2\u5956\u54c1\u5e8f\u53f7\u5982 \uff1astop(2) \uff0c\u5219\u4ee3\u88682\u53f7\u5956\u54c1\u4e2d\u5956\uff0c\u4e3a\u7a7a\u5219\u6309\u6982\u7387\u8ba1\u7b97\uff1b\u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1\uff0c\u8be6\u60c5\u770b\u6587\u6863",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "stop",
                                            copyable: !0,
                                            initialValue:
                                              "javascript:axLucky.".concat(
                                                e.axID,
                                                ".stop()"
                                              ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                    ],
                                  },
                                ],
                              },
                            };
                          }
                        );
                      case 3:
                      case "end":
                        return e.stop();
                    }
                }, e);
              })
            );
            return function (t, n) {
              return e.apply(this, arguments);
            };
          })()
        ),
      he("@axhub-lucky-slot")
        .$()
        .map(
          (function () {
            var e = Object(r.a)(
              de().mark(function e(t, n) {
                return de().wrap(function (e) {
                  for (;;)
                    switch ((e.prev = e.next)) {
                      case 0:
                        xe(
                          n,
                          j,
                          {
                            "blocks[0].imgs[0].width": "100%",
                            "blocks[0].imgs[0].height": "100%",
                            slotOptions: [],
                          },
                          function (e) {
                            for (
                              var t,
                                n,
                                r,
                                i,
                                a,
                                o,
                                l,
                                u,
                                s,
                                c,
                                f,
                                d,
                                p,
                                h,
                                v,
                                g,
                                m,
                                y,
                                b,
                                w,
                                k,
                                x,
                                S,
                                _,
                                C,
                                E,
                                N,
                                L,
                                O,
                                I,
                                z,
                                P,
                                T,
                                j,
                                R,
                                A,
                                D,
                                F,
                                M,
                                V,
                                W,
                                $,
                                U = [],
                                H = 1;
                              H <= (e.slotCount || 3);
                              H++
                            ) {
                              var B, G, Q, q, K, X, Y, J;
                              U.push(
                                {
                                  type: "select",
                                  displayName: "\u63d2\u69fd".concat(
                                    H,
                                    "\u65b9\u5411"
                                  ),
                                  attributeId: "slotOptions[".concat(
                                    H - 1,
                                    "].direction"
                                  ),
                                  initialValue:
                                    null !==
                                      (B =
                                        null === e ||
                                        void 0 === e ||
                                        null === (G = e.slotOptions) ||
                                        void 0 === G ||
                                        null === (Q = G[H - 1]) ||
                                        void 0 === Q
                                          ? void 0
                                          : Q.direction) && void 0 !== B
                                      ? B
                                      : "1",
                                  options: [
                                    {
                                      value: "1",
                                      label:
                                        "horizontal" ===
                                        (null === e ||
                                        void 0 === e ||
                                        null === (q = e.defaultConfig) ||
                                        void 0 === q
                                          ? void 0
                                          : q.mode)
                                          ? "\u53f3\u5f80\u5de6"
                                          : "\u4e0b\u5f80\u4e0a",
                                    },
                                    {
                                      value: "-1",
                                      label:
                                        "horizontal" ===
                                        (null === e ||
                                        void 0 === e ||
                                        null === (K = e.defaultConfig) ||
                                        void 0 === K
                                          ? void 0
                                          : K.mode)
                                          ? "\u5de6\u5f80\u53f3"
                                          : "\u4e0a\u5f80\u4e0b",
                                    },
                                  ],
                                },
                                {
                                  type: "input-number",
                                  displayName: "\u63d2\u69fd".concat(
                                    H,
                                    "\u8f6c\u901f"
                                  ),
                                  attributeId: "slotOptions[".concat(
                                    H - 1,
                                    "].speed"
                                  ),
                                  info: "\u5efa\u8bae\u914d\u7f6e\u8303\u56f4 10 ~ 30",
                                  initialValue:
                                    null !==
                                      (X =
                                        null === e ||
                                        void 0 === e ||
                                        null === (Y = e.slotOptions) ||
                                        void 0 === Y ||
                                        null === (J = Y[H - 1]) ||
                                        void 0 === J
                                          ? void 0
                                          : J.speed) && void 0 !== X
                                      ? X
                                      : 20,
                                }
                              );
                            }
                            return {
                              config: {
                                type: "collapse",
                                children: [
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u57fa\u7840\u914d\u7f6e",
                                    attributeId: "baseConfig",
                                    children: [
                                      {
                                        type: "input",
                                        displayName: "\u5956\u54c1\u4f4d\u7f6e",
                                        attributeId: "prizePostion",
                                        info: '\u8ddd\u79bb\u683c\u5b50\u9876\u90e8\u7684\u8ddd\u79bb, \u53ef\u4ee5\u662f 20 / "20px" / "20%"',
                                        initialValue:
                                          null !==
                                            (t =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizePostion) &&
                                          void 0 !== t
                                            ? t
                                            : "",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u63d2\u69fd\u6570\u91cf",
                                        attributeId: "slotCount",
                                        initialValue:
                                          null !==
                                            (n =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.slotCount) && void 0 !== n
                                            ? n
                                            : 3,
                                      },
                                      {
                                        type: "input",
                                        displayName:
                                          "\u5956\u54c1\u56fe\u7247\u5bbd\u5ea6",
                                        attributeId: "prizeWidth",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null !==
                                            (r =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizeWidth) && void 0 !== r
                                            ? r
                                            : "",
                                      },
                                      {
                                        type: "input",
                                        displayName:
                                          "\u5956\u54c1\u56fe\u7247\u9ad8\u5ea6",
                                        attributeId: "prizeHeight",
                                        info: "1.\u5bbd\u9ad8\u90fd\u672a\u8bbe\u7f6e\uff1a\u5219\u4f7f\u7528\u56fe\u7247\u539f\u5927\u5c0f\uff1b\uff08\u5b9e\u9645\u5927\u5c0f\uff1b2.\u6709\u5bbd\u5ea6\u65e0\u9ad8\u5ea6\uff1a\u5219\u9ad8\u5ea6\u968f\u7740\u5bbd\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b3. \u6709\u9ad8\u5ea6\u65e0\u5bbd\u5ea6\uff1a\u5219\u5bbd\u5ea6\u968f\u7740\u9ad8\u5ea6\u7b49\u6bd4\u7f29\u653e\uff1b\uff08\u7b49\u6bd4\u7f29\u653e\uff09\uff1b4. \u65e2\u6709\u5bbd\u5ea6\u4e5f\u6709\u9ad8\u5ea6\uff1a\u5219\u56fe\u7247\u5bbd\u9ad8\u5747\u7b49\u4e8e\u8bbe\u7f6e\u7684\u503c\uff1b\uff08\u4f1a\u88ab\u62c9\u4f38\uff09",
                                        initialValue:
                                          null !==
                                            (i =
                                              null === e || void 0 === e
                                                ? void 0
                                                : e.prizeHeight) && void 0 !== i
                                            ? i
                                            : "",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u884c\u95f4\u8ddd",
                                        attributeId: "defaultConfig.rowSpacing",
                                        info: "\u683c\u5b50\u884c\u95f4\u8ddd",
                                        initialValue:
                                          null !==
                                            (a =
                                              null === e ||
                                              void 0 === e ||
                                              null === (o = e.defaultConfig) ||
                                              void 0 === o
                                                ? void 0
                                                : o.rowSpacing) && void 0 !== a
                                            ? a
                                            : 0,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5217\u95f4\u8ddd",
                                        attributeId: "defaultConfig.colSpacing",
                                        info: "\u683c\u5b50\u5217\u95f4\u8ddd",
                                        initialValue:
                                          null !==
                                            (l =
                                              null === e ||
                                              void 0 === e ||
                                              null === (u = e.defaultConfig) ||
                                              void 0 === u
                                                ? void 0
                                                : u.colSpacing) && void 0 !== l
                                            ? l
                                            : 0,
                                      },
                                      {
                                        type: "select",
                                        displayName: "\u65cb\u8f6c\u6a21\u5f0f",
                                        attributeId: "defaultConfig.mode",
                                        initialValue:
                                          null !==
                                            (s =
                                              null === e ||
                                              void 0 === e ||
                                              null === (c = e.defaultConfig) ||
                                              void 0 === c
                                                ? void 0
                                                : c.mode) && void 0 !== s
                                            ? s
                                            : "vertical",
                                        options: [
                                          {
                                            value: "vertical",
                                            label: "\u7eb5\u5411",
                                          },
                                          {
                                            value: "horizontal",
                                            label: "\u6a2a\u5411",
                                          },
                                        ],
                                      },
                                      {
                                        type: "select",
                                        displayName: "\u65cb\u8f6c\u65b9\u5411",
                                        attributeId: "defaultConfig.direction",
                                        initialValue:
                                          null !==
                                            (f =
                                              null === e ||
                                              void 0 === e ||
                                              null === (d = e.defaultConfig) ||
                                              void 0 === d
                                                ? void 0
                                                : d.direction) && void 0 !== f
                                            ? f
                                            : "1",
                                        options: [
                                          {
                                            value: "1",
                                            label:
                                              "horizontal" ===
                                              (null === e ||
                                              void 0 === e ||
                                              null === (p = e.defaultConfig) ||
                                              void 0 === p
                                                ? void 0
                                                : p.mode)
                                                ? "\u53f3\u5f80\u5de6"
                                                : "\u4e0b\u5f80\u4e0a",
                                          },
                                          {
                                            value: "-1",
                                            label:
                                              "horizontal" ===
                                              (null === e ||
                                              void 0 === e ||
                                              null === (h = e.defaultConfig) ||
                                              void 0 === h
                                                ? void 0
                                                : h.mode)
                                                ? "\u5de6\u5f80\u53f3"
                                                : "\u4e0a\u5f80\u4e0b",
                                          },
                                        ],
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u8f6c\u901f\u5cf0\u503c",
                                        attributeId: "defaultConfig.speed",
                                        info: "\u5efa\u8bae\u914d\u7f6e\u8303\u56f4 10 ~ 30",
                                        initialValue:
                                          null !==
                                            (v =
                                              null === e ||
                                              void 0 === e ||
                                              null === (g = e.defaultConfig) ||
                                              void 0 === g
                                                ? void 0
                                                : g.speed) && void 0 !== v
                                            ? v
                                            : 20,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u5f00\u59cb\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.accelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (m =
                                              null === e ||
                                              void 0 === e ||
                                              null === (y = e.defaultConfig) ||
                                              void 0 === y
                                                ? void 0
                                                : y.accelerationTime) &&
                                          void 0 !== m
                                            ? m
                                            : 2500,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u7ed3\u675f\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.decelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (b =
                                              null === e ||
                                              void 0 === e ||
                                              null === (w = e.defaultConfig) ||
                                              void 0 === w
                                                ? void 0
                                                : w.decelerationTime) &&
                                          void 0 !== b
                                            ? b
                                            : 2500,
                                      },
                                      {
                                        type: "input-number",
                                        displayName:
                                          "\u7ed3\u675f\u65f6\u95f4 ms",
                                        attributeId:
                                          "defaultConfig.decelerationTime",
                                        info: "\u5355\u4f4d\u6beb\u79d2",
                                        initialValue:
                                          null !==
                                            (k =
                                              null === e ||
                                              void 0 === e ||
                                              null === (x = e.defaultConfig) ||
                                              void 0 === x
                                                ? void 0
                                                : x.decelerationTime) &&
                                          void 0 !== k
                                            ? k
                                            : 2500,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u683c\u5b50\u5706\u89d2",
                                        attributeId:
                                          "defaultStyle.borderRadius",
                                        initialValue:
                                          null !==
                                            (S =
                                              null === e ||
                                              void 0 === e ||
                                              null === (_ = e.defaultStyle) ||
                                              void 0 === _
                                                ? void 0
                                                : _.borderRadius) &&
                                          void 0 !== S
                                            ? S
                                            : 20,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName:
                                          "\u5956\u54c1\u533a\u80cc\u666f\u8272",
                                        picker: "lite",
                                        attributeId: "defaultStyle.background",
                                        initialValue:
                                          null !==
                                            (C =
                                              null === e ||
                                              void 0 === e ||
                                              null === (E = e.defaultStyle) ||
                                              void 0 === E
                                                ? void 0
                                                : E.background) && void 0 !== C
                                            ? C
                                            : void 0,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName: "\u5b57\u4f53\u989c\u8272",
                                        picker: "lite",
                                        attributeId: "defaultStyle.fontColor",
                                        initialValue:
                                          null !==
                                            (N =
                                              null === e ||
                                              void 0 === e ||
                                              null === (L = e.defaultStyle) ||
                                              void 0 === L
                                                ? void 0
                                                : L.fontColor) && void 0 !== N
                                            ? N
                                            : "#000",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5b57\u4f53\u5927\u5c0f",
                                        attributeId: "defaultStyle.fontSize",
                                        initialValue:
                                          null !==
                                            (O =
                                              null === e ||
                                              void 0 === e ||
                                              null === (I = e.defaultStyle) ||
                                              void 0 === I
                                                ? void 0
                                                : I.fontSize) && void 0 !== O
                                            ? O
                                            : 22,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u5b57\u91cd",
                                        attributeId: "defaultStyle.fontWeight",
                                        info: "\u76ee\u524d\u4ec5\u652f\u6301 300 / 400 / 500 / 600 / 700",
                                        initialValue:
                                          null !==
                                            (z =
                                              null === e ||
                                              void 0 === e ||
                                              null === (P = e.defaultStyle) ||
                                              void 0 === P
                                                ? void 0
                                                : P.fontWeight) && void 0 !== z
                                            ? z
                                            : 400,
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u884c\u9ad8",
                                        attributeId: "defaultStyle.lineHeight",
                                        initialValue:
                                          null !==
                                            (T =
                                              null === e ||
                                              void 0 === e ||
                                              null === (j = e.defaultStyle) ||
                                              void 0 === j
                                                ? void 0
                                                : j.lineHeight) && void 0 !== T
                                            ? T
                                            : void 0,
                                      },
                                      {
                                        type: "checkbox",
                                        displayName:
                                          "\u6587\u5b57\u81ea\u52a8\u6362\u884c",
                                        attributeId: "defaultStyle.wordWrap",
                                        initialValue:
                                          null ===
                                            (R =
                                              null === e ||
                                              void 0 === e ||
                                              null === (A = e.defaultStyle) ||
                                              void 0 === A
                                                ? void 0
                                                : A.wordWrap) ||
                                          void 0 === R ||
                                          R,
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u6362\u884c\u5bbd\u5ea6",
                                        attributeId: "defaultStyle.lengthLimit",
                                        info: '\u6587\u5b57\u4f1a\u57fa\u4e8e\u5f53\u524d\u6247\u5f62\u7684\u5bbd\u5ea6\u81ea\u52a8\u6362\u884c, \u53ef\u4ee5\u662f 90 / "90px" / "90%',
                                        initialValue:
                                          null !==
                                            (D =
                                              null === e ||
                                              void 0 === e ||
                                              null === (F = e.defaultStyle) ||
                                              void 0 === F
                                                ? void 0
                                                : F.lengthLimit) && void 0 !== D
                                            ? D
                                            : "90%",
                                      },
                                      {
                                        type: "input-number",
                                        displayName: "\u6ea2\u51fa\u9690\u85cf",
                                        attributeId: "defaultStyle.lineClamp",
                                        info: "\u8bbe\u7f6e 1 \u65f6, \u6587\u672c\u5c31\u53ea\u6e32\u67d3\u4e00\u884c, \u5e76\u4e14\u4f7f\u7528...\u7ed3\u5c3e\uff0c\u4ee5\u6b64\u7c7b\u63a8",
                                        initialValue:
                                          null === e ||
                                          void 0 === e ||
                                          null === (M = e.defaultStyle) ||
                                          void 0 === M
                                            ? void 0
                                            : M.lineClamp,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u63d2\u69fd",
                                    attributeId: "slotsConfig",
                                    children: U,
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u80cc\u666f",
                                    attributeId: "blocksConfig",
                                    children: [
                                      {
                                        type: "text",
                                        displayName: "\u56fe\u7247\u5730\u5740",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 config \u4e2d\u7ee7\u5668\u914d\u7f6e",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                      {
                                        type: "input",
                                        displayName: "\u5185\u8fb9\u8ddd",
                                        attributeId: "blocks[0].padding",
                                        initialValue:
                                          null !== e && void 0 !== e && e.blocks
                                            ? null !==
                                                (V =
                                                  null === e ||
                                                  void 0 === e ||
                                                  null === (W = e.blocks[0]) ||
                                                  void 0 === W
                                                    ? void 0
                                                    : W.padding) && void 0 !== V
                                              ? V
                                              : 0
                                            : void 0,
                                      },
                                      {
                                        type: "color-picker",
                                        displayName: "\u80cc\u666f\u8272",
                                        picker: "lite",
                                        attributeId: "blocks[0].background",
                                        initialValue:
                                          null !== e && void 0 !== e && e.blocks
                                            ? null === e ||
                                              void 0 === e ||
                                              null === ($ = e.blocks[0]) ||
                                              void 0 === $
                                              ? void 0
                                              : $.background
                                            : void 0,
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u5956\u54c1",
                                    attributeId: "prizeConfig",
                                    children: [
                                      {
                                        type: "text",
                                        displayName: "\u5956\u54c1\u5217\u8868",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 data \u4e2d\u7ee7\u5668\u914d\u7f6e\uff0c\u652f\u6301\u56fe\u7247\u548c\u6587\u5b57\u4e24\u79cd\u3002\n text\uff1a\u6587\u5b57\u5185\u5bb9\uff1b\n img\uff1a\u56fe\u7247\u5730\u5740\uff1b\n top\uff1a\u5956\u54c1\u4f4d\u7f6e\uff1b\n range\uff1a\u6743\u91cd\u5373\u4e2d\u5956\u6982\u7387\uff1b\n background\uff1a\u80cc\u666f\u989c\u8272",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                      {
                                        type: "text",
                                        displayName: "\u4e2d\u5956\u6982\u7387",
                                        attributeId: "blocks.src",
                                        info: "\u901a\u8fc7\u5143\u4ef6\u7684 data \u4e2d\u7ee7\u5668 range \u914d\u7f6e\uff0c\u6982\u7387\u5c5e\u6027:\n\u5982\u679c3\u4e2a\u5956\u54c1\u7684 range \u5206\u522b\u4e3a [10, 20, 30], \u5219\u4e2d\u5956\u51e0\u7387\u4e3a [10/60, 20/60, 30/60]\n\u5982\u679c3\u4e2a\u5956\u54c1\u7684 range \u5206\u522b\u4e3a [10, 0, 30], \u5219\u4e2d\u5956\u51e0\u7387\u4e3a [10/40, 0, 30/40]\n",
                                        initialValue:
                                          "\u8bf7\u8fd4\u56de Axure \u8bbe\u7f6e",
                                      },
                                    ],
                                  },
                                  {
                                    type: "collapse-panel",
                                    displayName: "\u4ea4\u4e92\u52a8\u4f5c",
                                    attributeId: "actionConfig",
                                    children: [
                                      {
                                        type: "group",
                                        displayName: "\u4e2d\u5956\u5956\u54c1",
                                        info: "\u5f53\u524d\u4e2d\u5956\u5956\u54c1\u7684\u5168\u5c40\u53d8\u91cf\uff0c\u518d Axure - \u9879\u76ee - \u5168\u5c40\u53d8\u91cf\u521b\u5efa\u540e\uff0c\u5c31\u53ef\u4ee5\u5728\u76f8\u5173\u4ea4\u4e92\u4f7f\u7528",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "prize",
                                            copyable: !0,
                                            initialValue: "".concat(
                                              e.axID,
                                              "_prize"
                                            ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                      {
                                        type: "group",
                                        displayName: "\u5f00\u59cb\u62bd\u5956",
                                        info: "\u5f00\u59cb\u62bd\u5956\uff0c\u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1\uff0c\u8be6\u60c5\u770b\u6587\u6863",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "play",
                                            copyable: !0,
                                            initialValue:
                                              "javascript:axLucky.".concat(
                                                e.axID,
                                                ".play()"
                                              ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                      {
                                        type: "group",
                                        displayName: "\u7ed3\u675f\u62bd\u5956",
                                        info: "\u53ef\u4ee5\u4f20\u53c2\u5956\u54c1\u5e8f\u53f7\u5982 \uff1astop(2) \uff0c\u5219\u4ee3\u88682\u53f7\u5956\u54c1\u4e2d\u5956\uff0c\u4e3a\u7a7a\u5219\u6309\u6982\u7387\u8ba1\u7b97\uff1b\u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1\uff0c\u8be6\u60c5\u770b\u6587\u6863",
                                        children: [
                                          {
                                            type: "text",
                                            attributeId: "stop",
                                            copyable: !0,
                                            initialValue:
                                              "javascript:axLucky.".concat(
                                                e.axID,
                                                ".stop()"
                                              ),
                                            maxWidth: "100%",
                                          },
                                        ],
                                      },
                                    ],
                                  },
                                ],
                              },
                            };
                          }
                        );
                      case 3:
                      case "end":
                        return e.stop();
                    }
                }, e);
              })
            );
            return function (t, n) {
              return e.apply(this, arguments);
            };
          })()
        ),
      he("@axhub-lucky-scratch")
        .$()
        .map(
          (function () {
            var e = Object(r.a)(
              de().mark(function e(t, n) {
                var r, i, a;
                return de().wrap(function (e) {
                  for (;;)
                    switch ((e.prev = e.next)) {
                      case 0:
                        try {
                          (r = ve(n)
                            .find("#".concat(n.id, "_div"))
                            .css("background-color")),
                            (i = ve(n)
                              .find("#".concat(n.id, "_img"))
                              .attr("src")),
                            (a = document.getElementById(n.id)),
                            Object(se.createRoot)(a).render(
                              F.a.createElement(ue, {
                                width: ve(n).width(),
                                height: ve(n).height(),
                                coverColor: r,
                                coverImg: i,
                              })
                            );
                        } catch (t) {
                          console.error(
                            "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
                            t
                          );
                        }
                      case 1:
                      case "end":
                        return e.stop();
                    }
                }, e);
              })
            );
            return function (t, n) {
              return e.apply(this, arguments);
            };
          })()
        );
  },
  20: function (e, t, n) {
    "use strict";
    function r(e, t, n, r, i, a, o) {
      try {
        var l = e[a](o),
          u = l.value;
      } catch (s) {
        return void n(s);
      }
      l.done ? t(u) : Promise.resolve(u).then(r, i);
    }
    function i(e) {
      return function () {
        var t = this,
          n = arguments;
        return new Promise(function (i, a) {
          var o = e.apply(t, n);
          function l(e) {
            r(o, i, a, l, u, "next", e);
          }
          function u(e) {
            r(o, i, a, l, u, "throw", e);
          }
          l(void 0);
        });
      };
    }
    n.d(t, "a", function () {
      return i;
    });
  },
  3: function (e, t, n) {
    var r;
    !(function () {
      "use strict";
      var n = {}.hasOwnProperty;
      function i() {
        for (var e = "", t = 0; t < arguments.length; t++) {
          var n = arguments[t];
          n && (e = o(e, a(n)));
        }
        return e;
      }
      function a(e) {
        if ("string" === typeof e || "number" === typeof e) return e;
        if ("object" !== typeof e) return "";
        if (Array.isArray(e)) return i.apply(null, e);
        if (
          e.toString !== Object.prototype.toString &&
          !e.toString.toString().includes("[native code]")
        )
          return e.toString();
        var t = "";
        for (var r in e) n.call(e, r) && e[r] && (t = o(t, r));
        return t;
      }
      function o(e, t) {
        return t ? (e ? e + " " + t : e + t) : e;
      }
      e.exports
        ? ((i.default = i), (e.exports = i))
        : void 0 ===
            (r = function () {
              return i;
            }.apply(t, [])) || (e.exports = r);
    })();
  },
  36: function (e, t, n) {
    "use strict";
    var r = {}.toString;
    t.a = function (e, t) {
      return r.call(e) === "[object " + t + "]";
    };
  },
  37: function (e, t, n) {
    "use strict";
    var r = n(55),
      i = function (e) {
        return "object" === typeof e && null !== e;
      },
      a = n(36),
      o = function (e) {
        if (!i(e) || !Object(a.a)(e, "Object")) return !1;
        if (null === Object.getPrototypeOf(e)) return !0;
        for (var t = e; null !== Object.getPrototypeOf(t); )
          t = Object.getPrototypeOf(t);
        return Object.getPrototypeOf(e) === t;
      };
    function l(e, t) {
      if (Object.hasOwn) return Object.hasOwn(e, t);
      if (null == e)
        throw new TypeError("Cannot convert undefined or null to object");
      return Object.prototype.hasOwnProperty.call(Object(e), t);
    }
    function u(e, t, n, i) {
      for (var a in ((n = n || 0), (i = i || 5), t))
        if (l(t, a)) {
          var s = t[a];
          null !== s && o(s)
            ? (o(e[a]) || (e[a] = {}),
              n < i ? u(e[a], s, n + 1, i) : (e[a] = t[a]))
            : Object(r.a)(s)
            ? ((e[a] = []), (e[a] = e[a].concat(s)))
            : void 0 !== s && (e[a] = s);
        }
    }
    t.a = function (e) {
      for (var t = [], n = 1; n < arguments.length; n++)
        t[n - 1] = arguments[n];
      for (var r = 0; r < t.length; r += 1) u(e, t[r]);
      return e;
    };
  },
  41: function (e, t, n) {
    "use strict";
    !(function e() {
      if (
        "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
        "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE
      ) {
        0;
        try {
          __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
        } catch (t) {
          console.error(t);
        }
      }
    })(),
      (e.exports = n(122));
  },
  54: function (e, t, n) {
    var r, i, a;
    (a = function () {
      var e,
        t,
        n = document,
        r = n.getElementsByTagName("head")[0],
        i = {},
        a = {},
        o = {},
        l = {};
      function u(e, t) {
        for (var n = 0, r = e.length; n < r; ++n) if (!t(e[n])) return !1;
        return 1;
      }
      function s(e, t) {
        u(e, function (e) {
          return t(e), 1;
        });
      }
      function c(t, n, r) {
        t = t.push ? t : [t];
        var d = n && n.call,
          p = d ? n : r,
          h = d ? t.join("") : n,
          v = t.length;
        function g(e) {
          return e.call ? e() : i[e];
        }
        function m() {
          if (!--v)
            for (var e in ((i[h] = 1), p && p(), o))
              u(e.split("|"), g) && !s(o[e], g) && (o[e] = []);
        }
        return (
          setTimeout(function () {
            s(t, function t(n, r) {
              return null === n
                ? m()
                : (r ||
                    /^https?:\/\//.test(n) ||
                    !e ||
                    (n = -1 === n.indexOf(".js") ? e + n + ".js" : e + n),
                  l[n]
                    ? (h && (a[h] = 1),
                      2 == l[n]
                        ? m()
                        : setTimeout(function () {
                            t(n, !0);
                          }, 0))
                    : ((l[n] = 1), h && (a[h] = 1), void f(n, m)));
            });
          }, 0),
          c
        );
      }
      function f(e, i) {
        var a,
          o = n.createElement("script");
        (o.onload =
          o.onerror =
          o.onreadystatechange =
            function () {
              (o.readyState && !/^c|loade/.test(o.readyState)) ||
                a ||
                ((o.onload = o.onreadystatechange = null),
                (a = 1),
                (l[e] = 2),
                i());
            }),
          (o.async = 1),
          (o.src = t ? e + (-1 === e.indexOf("?") ? "?" : "&") + t : e),
          r.insertBefore(o, r.lastChild);
      }
      return (
        (c.get = f),
        (c.order = function (e, t, n) {
          !(function r(i) {
            (i = e.shift()), e.length ? c(i, r) : c(i, t, n);
          })();
        }),
        (c.path = function (t) {
          e = t;
        }),
        (c.urlArgs = function (e) {
          t = e;
        }),
        (c.ready = function (e, t, n) {
          e = e.push ? e : [e];
          var r,
            a = [];
          return (
            !s(e, function (e) {
              i[e] || a.push(e);
            }) &&
            u(e, function (e) {
              return i[e];
            })
              ? t()
              : ((r = e.join("|")),
                (o[r] = o[r] || []),
                o[r].push(t),
                n && n(a)),
            c
          );
        }),
        (c.done = function (e) {
          c([null], e);
        }),
        c
      );
    }),
      e.exports
        ? (e.exports = a())
        : void 0 ===
            (i = "function" === typeof (r = a) ? r.call(t, n, t, e) : r) ||
          (e.exports = i);
  },
  55: function (e, t, n) {
    "use strict";
    var r = n(36);
    t.a = function (e) {
      return Array.isArray ? Array.isArray(e) : Object(r.a)(e, "Array");
    };
  },
  91: function (e, t) {
    var n;
    n = (function () {
      return this;
    })();
    try {
      n = n || new Function("return this")();
    } catch (r) {
      "object" === typeof window && (n = window);
    }
    e.exports = n;
  },
});
